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

Method UnregisterVariable

trinity/Tr2VariableStore.cpp:246–257  ·  view source on GitHub ↗

------------------------------------------------------------- Description: Unregisters a variable with the given name in this store or in the first parent that has it. Arguments: name - Name of the variable to unregister. -------------------------------------------------------------

Source from the content-addressed store, hash-verified

244// name - Name of the variable to unregister.
245// -------------------------------------------------------------
246void Tr2VariableStore::UnregisterVariable( const char* name )
247{
248 Tr2VariableStore* store = this;
249 while( store )
250 {
251 if( store->UnregisterLocalVariable( name ) )
252 {
253 return;
254 }
255 store = store->GetParentVariableStore();
256 }
257}
258
259// -------------------------------------------------------------
260// Description:

Callers 3

~Tr2BlitterMethod · 0.80
ShutdownMethod · 0.80
~TriStepRenderAtlasMethod · 0.80

Calls 2

Tested by

no test coverage detected