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

Function SetValueGpuBuffer

trinity/TriVariable.h:159–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 }
158
159 void SetValueGpuBuffer( ITr2GpuBuffer * &value )
160 {
161 CCP_ASSERT( m_type == GetVariableType( value ) );
162 m_gpuBuffer = value;
163 m_type = TRIVARIABLE_GPUBUFFER;
164 }
165
166 // Variables contain their payload starting at 'value'[0]. No size is
167 // stored since 'type' is enough.

Callers 1

SetValueFunction · 0.85

Calls 1

GetVariableTypeFunction · 0.85

Tested by

no test coverage detected