benilla-re systems structs docs

TextureCreateBlank

function · gx · unreached

Address
0x449b30 · 185 bytes, up to 0x449be8
Signature
void * __fastcall (uint32_t width, uint32_t height, uint32_t format, uint32_t typeCode, uint32_t filter, uint32_t force)
Meaning
Creates an unnamed texture of a size 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 0

None by a direct call or jump.

Callees 6

Calls and jumps by a bare address, from tables/calls.tsv.