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

Method RegisterOutsider

trinity/Tr2TextureAtlas.cpp:188–192  ·  view source on GitHub ↗

Register an atlas texture that lives outside the atlas. It will be pulled into the atlas if space becomes available.

Source from the content-addressed store, hash-verified

186// Register an atlas texture that lives outside the atlas. It will be pulled
187// into the atlas if space becomes available.
188void Tr2TextureAtlas::RegisterOutsider( Tr2AtlasTexture* tex )
189{
190 CCP_ASSERT( !tex->m_atlasArea );
191 m_texturesOutsideAtlas.insert( tex );
192}
193
194void Tr2TextureAtlas::RemoveFromAtlas( Tr2AtlasTexture* tex )
195{

Callers 1

DoPrepareMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected