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

Method getMaterial

libs/JSystem/J2DGraph/J2DScreen.cpp:402–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402J2DMaterial* J2DScreen::getMaterial(u16 index)
403{
404 if (index >= mMaterialCount) {
405 return nullptr;
406 }
407 if (mMaterials == nullptr) {
408 return nullptr;
409 }
410 return mMaterials + index;
411}
412
413bool J2DScreen::isUsed(const ResTIMG* resource) { return J2DPane::isUsed(resource); }
414

Callers 8

drawMethod · 0.45
setEffectMtxMethod · 0.45
searchBaseMethod · 0.45
searchMethod · 0.45
WallVertexReflectionMethod · 0.45
DoSlipSoundMethod · 0.45
createEmitterOnGroundMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected