struct STextureMapHeader { unsigned int nNumSlices; unsigned int nTotalSize; unsigned int nFlag; unsigned short nWidth; unsigned short nHeight; unsigned short nFormat; unsigned char nNumMipLevels; unsigned char nDefaultMipLevel; unsigned char nInterpretAs; unsigned char nDimensions; unsigned char nMipInterpolation; unsigned char __padding; unsigned int nIADataSize; unsigned int nIADataOffset; }; struct SMipLevel { unsigned char data[dataSize]; }; struct SVector2 { float x; float y; }; struct STilePolygonVertex { SVector2 posLerp; SVector2 textUV; }; struct IAData { unsigned int polygonVertexCount; unsigned int altasWidth; unsigned int altasHeight; STilePolygonVertex tilePolygonVertices[polygonVertexCount * altasWidth * altasHeight]; }; struct RenderTexture { STextureMapHeader textureMapHeader; SMipLevel mipLevels[textureMapHeader.nNumMipLevels]; IAData iaData; };
There was an error while loading. Please reload this page.