MCPcopy Create free account
hub / github.com/carbonengine/trinity / GetWidth

Method GetWidth

trinity/Sprite2d/Tr2Sprite2dTexture.cpp:104–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104unsigned int Tr2Sprite2dTexture::GetWidth() const
105{
106 if( m_atlasTexture )
107 {
108 return m_atlasTexture->GetWidth();
109 }
110
111 return 0;
112}
113
114unsigned int Tr2Sprite2dTexture::GetHeight() const
115{

Callers 10

GatherSpritesMethod · 0.45
GatherSpritesMethod · 0.45
SetTextureMethod · 0.45
StartLayerMethod · 0.45
OnPrepareResourcesMethod · 0.45
AllocateRenderTargetMethod · 0.45
FreeRenderTargetMethod · 0.45
CheckTextureWindowMethod · 0.45
SampleMaskMethod · 0.45
GatherSpritesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected