MCPcopy Create free account
hub / github.com/doldecomp/mkdd / getFrameTexture

Method getFrameTexture

libs/JSystem/J2DGraph/J2DWindowEx.cpp:712–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710}
711
712JUTTexture* J2DWindowEx::getFrameTexture(u8 frameMaterialIndex, u8 textureIndex) const
713{
714 J2DMaterial* material = getFrameMaterial(frameMaterialIndex);
715 if (material != nullptr && material->mTevBlock != nullptr) {
716 return material->mTevBlock->getTexture(textureIndex);
717 }
718 return nullptr;
719}
720
721JUTTexture* J2DWindowEx::getContentsTexture(u8 textureIndex) const
722{

Callers

nothing calls this directly

Calls 1

getTextureMethod · 0.45

Tested by

no test coverage detected