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

Function SetValueTextureRes

trinity/TriVariable.h:152–157  ·  view source on GitHub ↗

Storing a texture res pointer

Source from the content-addressed store, hash-verified

150
151 // Storing a texture res pointer
152 void SetValueTextureRes( ITr2TextureProvider * &value )
153 {
154 CCP_ASSERT( m_type == GetVariableType( value ) );
155 m_texture = value;
156 m_type = TRIVARIABLE_TEXTURE_RES;
157 }
158
159 void SetValueGpuBuffer( ITr2GpuBuffer * &value )
160 {

Callers 1

SetValueFunction · 0.85

Calls 1

GetVariableTypeFunction · 0.85

Tested by

no test coverage detected