TextureCreateNamedBlank
function · gx · orchestration
- Address
0x449cc0· 193 bytes, up to0x449d80- Signature
void * __fastcall (const char *name, uint32_t width, uint32_t height, uint32_t format, uint32_t typeCode, uint32_t filter, uint32_t force)- Meaning
- Creates a named texture with no pixel source and returns its handle
- Confidence
- verified, proof one
- Finding
- gx/textures#texture-creation-variants
Finding: Texture creation variants in gx: textures
0x449b30(w, h, format, typeCode, filter, force), 0x449bf0(w, h, format, typeCode, filter, owner, callback, name, force) and 0x449cc0(name, w, h, format, typeCode, filter, force) create a texture with no file. format is the device texture's GxTex format and typeCode the pixel type code of the data the owner supplies. Each allocates a CTexture, builds the flags word with 0x449ae0, gets a device texture from 0x448450, and stores the device texture, the type code at +0x118, the size, the format at +0x14c and the flags. The callback is the no-op 0x448830 except in 0x449bf0, which passes the caller's callback and owner. The name is Unique Texture (0x835624) for 0x449b30, and the given name or Unique Texture No Name (0x835634) for the others.
The derivation is in the doc.
Callers 1
- UpdateCharacterComponent charactermodel
Callees 6
- CreateHandle base
- CTexture::CTexture gx
- TexturePoolAcquire gx
- TextureMakeFlags gx
- SMemAlloc storm
- SStrCopy storm
Calls and jumps by a bare address, from tables/calls.tsv.