MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / valid

Method valid

Source/Graphics/textureref.cpp:37–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37bool TextureRef::valid() const {
38 return id != (int)INVALID_ID;
39}
40
41TextureRef::TextureRef() {
42 id = INVALID_ID;

Callers 15

SetAnimationMethod · 0.45
SetSpeedMultMethod · 0.45
UpdateMethod · 0.45
GetMatricesMethod · 0.45
AddLayerMethod · 0.45
~BloodSurfaceMethod · 0.45
UpdateMethod · 0.45
IgniteMethod · 0.45
ExtinguishMethod · 0.45
DrawMethod · 0.45
DrawMethod · 0.45
SetImageFromPathMethod · 0.45

Calls

no outgoing calls

Tested by 7

test<2>Method · 0.36
test<3>Method · 0.36
test<4>Method · 0.36
test<5>Method · 0.36
test<6>Method · 0.36
test<7>Method · 0.36
test<8>Method · 0.36