Home
last modified time | relevance | path

Searched refs:texIndex (Results 1 – 2 of 2) sorted by relevance

/CTR-SDK-0.14.4/sources/libraries/tpl/CTR/
Dtpl_ReadTexturePackage.cpp67 void* GetTexture(s32* mipLevel, u32* mipmapSize, const void* pTexPackage, const s16 texIndex) in GetTexture() argument
78 NN_TASSERT_((0 <= texIndex) && (texIndex < header->numTexture)); in GetTexture()
79 if((texIndex < 0) || (header->numTexture <= texIndex)) in GetTexture()
85 …onst char*)pTexPackage) + (sizeof(CtrTexturePackageHeader)) + (sizeof(CtrTextureInfo) * texIndex)); in GetTexture()
106 bool GetTextureInfo(CtrTextureInfo* pTexInfo, const void* pTexPackage, const s16 texIndex) in GetTextureInfo() argument
118 NN_TASSERT_((0 <= texIndex) && (texIndex < header->numTexture)); in GetTextureInfo()
119 if((texIndex < 0) || (header->numTexture <= texIndex)) in GetTextureInfo()
125 …onst char*)pTexPackage) + (sizeof(CtrTexturePackageHeader)) + (sizeof(CtrTextureInfo) * texIndex)); in GetTextureInfo()
/CTR-SDK-0.14.4/include/nn/tpl/CTR/
Dtpl_ReadTexturePackage.h61 void* GetTexture(s32* mipLevel, u32* mipmapSize, const void* pTexPackage, const s16 texIndex);
73 bool GetTextureInfo(CtrTextureInfo* pTexInfo, const void* pTexPackage, const s16 texIndex);