TextureSet Asset: Difference between revisions
Created page with "__NOTOC__ Category:Assets Category:BO1 Category:BO2 This asset is a Treyarch asset, appearing only on Black Ops 1 and 2. It is thought to hold an array of textures..." |
|||
| Line 7: | Line 7: | ||
Notice on Black Ops 1, this asset does not even contain a name. | Notice on Black Ops 1, this asset does not even contain a name. | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
struct TextureListElement | |||
{ | |||
unsigned int packFileIndex; | |||
}; | |||
struct TextureSet | struct TextureSet | ||
{ | { | ||
int numTextures; | |||
TextureListElement *listElements; | |||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Black Ops 2 == | == Black Ops 2 == | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
Latest revision as of 19:48, 22 December 2014
This asset is a Treyarch asset, appearing only on Black Ops 1 and 2. It is thought to hold an array of textures indices.
Black Ops 1
Notice on Black Ops 1, this asset does not even contain a name.
struct TextureListElement
{
unsigned int packFileIndex;
};
struct TextureSet
{
int numTextures;
TextureListElement *listElements;
};Black Ops 2
struct TextureList
{
unsigned int textureCount;
unsigned int *textures; //Count = textureCount
};
struct TextureSet
{
const char * name;
TextureList lists[4];
};