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

Method getTexture

libs/JSystem/J2DGraph/J2DPictureEx.cpp:935–946  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

933}
934
935JUTTexture* J2DPictureEx::getTexture(u8 id) const
936{
937 if (mMaterial == nullptr) {
938 return nullptr;
939 }
940
941 if (mMaterial->getTevBlock() == nullptr) {
942 return nullptr;
943 }
944
945 return mMaterial->getTevBlock()->getTexture(id);
946}
947
948u8 J2DPictureEx::getTextureCount() const
949{

Callers 6

removeMethod · 0.45
drawMethod · 0.45
drawOutMethod · 0.45
setTevStageMethod · 0.45
isUsedMethod · 0.45
getUsableTlutMethod · 0.45

Calls 1

getTevBlockMethod · 0.45

Tested by

no test coverage detected