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

Method GetGpuBuffer

trinity/Particle/Tr2ParticleSystem.cpp:341–344  ·  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

339// GPU buffer containing instance data
340// --------------------------------------------------------------------------------------
341Tr2BufferAL* Tr2ParticleSystem::GetGpuBuffer( unsigned bufferIndex )
342{
343 return &m_vertexBuffer;
344}
345
346// --------------------------------------------------------------------------------------
347// Description:

Callers 5

UpdateLiveCountMethod · 0.45
DoClearMethod · 0.45
CollectMeshesMethod · 0.45
ResizeBufferMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected