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

Method Destroy

trinityal/Tr2DrawUPHelper.cpp:54–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void Tr2DrawUPHelper::Destroy()
55{
56 for( unsigned i = 0; i != DRAW_UP_RING_SIZE; ++i )
57 {
58 m_vertexUP[i] = ::Tr2BufferAL();
59 m_indexUP16[i] = ::Tr2BufferAL();
60 m_indexUP32[i] = ::Tr2BufferAL();
61 }
62
63 m_nextRingVB = m_nextRingIB16 = m_nextRingIB32 = 0;
64}
65
66ALResult Tr2DrawUPHelper::FillUPVertexBuffer(
67 uint32_t vertexCount,

Callers 1

DestroyDeviceResourcesFunction · 0.45

Calls 1

Tr2BufferALClass · 0.50

Tested by

no test coverage detected