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

Method GetDestination

trinity/Shader/Parameter/Tr2FloatParameter.cpp:95–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95void Tr2FloatParameter::GetDestination( void*& dest, size_t& size )
96{
97 if( m_reroutedValue )
98 {
99 dest = m_reroutedValue;
100 }
101 else
102 {
103 dest = (void*)&m_value;
104 }
105 size = sizeof( float );
106}
107
108void Tr2FloatParameter::RegisterBinding( TriValueBinding* vb )
109{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected