GxTexCreateFromDesc
function · gx · host
- Address
0x58ac40· 40 bytes, up to0x58ac67- Signature
void * __fastcall (const uint32_t *desc, void **out)- Meaning
- Creates a texture from a nine-field request record through GxTexCreate
- Confidence
- verified, proof one
- Finding
- gx/texturesize#texture-request-routes
Finding: Texture request routes in gx: texture sizes and formats
0x448450(width, height, format, flags, owner, callback, typeCode) returns a device texture, or 0. A width or height that is not a power of two (0 counts as one) or is 1024 or more returns 0 at 0x448665: no texture, no Storm error, no log. A side of 16 or less, or a format above 7 (a signed compare), makes a new texture through GxTexCreate. Otherwise both sides are 32 to 512 and the request takes the pool. format is the device texture's GxTex format; typeCode is the type of the data the callback supplies, mapped by 0x835258 to the data format. The flags reach the device with bit 6 cleared.
The derivation is in the doc.
Callers 1
Callees 1
- GxTexCreate gx
Calls and jumps by a bare address, from tables/calls.tsv.