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

Method GetGpuBuffer

trinity/Tr2RuntimeInstanceData.cpp:278–281  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------- Description: Implements ITr2GpuBuffer interface. Returns GPU buffer with particle data. Arguments: bufferIndex - instance buffer index Return Value: GPU buffer containing instance data --------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

276// GPU buffer containing instance data
277// --------------------------------------------------------------------------------------
278Tr2BufferAL* Tr2RuntimeInstanceData::GetGpuBuffer( unsigned bufferIndex )
279{
280 return &m_vb.GetBuffer();
281}
282
283// --------------------------------------------------------------------------------------
284// Description:

Callers

nothing calls this directly

Calls 1

GetBufferMethod · 0.45

Tested by

no test coverage detected