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

Method GetTexture

trinity/Tr2TextureAnimation.cpp:123–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123Tr2TextureAL Tr2TextureAnimation::GetTexture( const BlueSharedString& channel ) const
124{
125 for( auto& grid : m_grids )
126 {
127 if( grid.name == channel )
128 {
129 return grid.frame;
130 }
131 }
132 return Tr2TextureAL();
133}
134
135void Tr2TextureAnimation::AdvanceTime( float dt )
136{

Callers

nothing calls this directly

Calls 1

Tr2TextureALClass · 0.70

Tested by

no test coverage detected