![]() |
DDNet documentation
|
#include <graphics_threaded.h>
Public Member Functions | |
| CCommandBuffer (unsigned CmdBufferSize, unsigned DataBufferSize) | |
| void * | AllocData (unsigned WantedSize) |
| template<class T> | |
| bool | AddCommandUnsafe (const T &Command) |
| const SCommand * | Head () const |
| SCommand * | Head () |
| void | Reset () |
| void | AddRenderCalls (size_t RenderCallCountToAdd) |
Public Attributes | |
| CBuffer | m_CmdBuffer |
| size_t | m_CommandCount = 0 |
| size_t | m_RenderCallCount = 0 |
| CBuffer | m_DataBuffer |
Private Attributes | |
| SCommand * | m_pCmdBufferHead |
| SCommand * | m_pCmdBufferTail |
| typedef GL_SColor CCommandBuffer::SColor |
| typedef GL_SColorf CCommandBuffer::SColorf |
| typedef vec2 CCommandBuffer::SPoint |
| typedef vec2 CCommandBuffer::STexCoord |
| typedef GL_SVertex CCommandBuffer::SVertex |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| CBuffer CCommandBuffer::m_CmdBuffer |
| size_t CCommandBuffer::m_CommandCount = 0 |
| CBuffer CCommandBuffer::m_DataBuffer |
|
private |
|
private |
| size_t CCommandBuffer::m_RenderCallCount = 0 |