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

Function SetValue_

trinity/TriVariable.h:145–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143
144 template <typename T>
145 void SetValue_( const T& value )
146 {
147 CCP_ASSERT( m_type == GetVariableType( value ) );
148 *(T*)m_value = value;
149 }
150
151 // Storing a texture res pointer
152 void SetValueTextureRes( ITr2TextureProvider * &value )

Callers 1

SetValueFunction · 0.85

Calls 1

GetVariableTypeFunction · 0.85

Tested by

no test coverage detected