![]() |
Pioneer
|
#include <CommandBufferGL.h>
Classes | |
| struct | DrawCmd |
| struct | DynamicDrawCmd |
| struct | RenderPassCmd |
Public Member Functions | |
| void | AddDrawCmd (Graphics::MeshObject *mesh, Graphics::Material *mat, Graphics::InstanceBuffer *inst=nullptr) |
| void | AddDynamicDrawCmd (BufferBinding< Graphics::VertexBuffer > vtx, BufferBinding< Graphics::IndexBuffer > idx, Graphics::Material *mat) |
| void | AddRenderPassCmd (RenderTarget *renderTarget, ViewportExtents extents) |
| void | AddScissorCmd (ViewportExtents extents) |
| void | AddClearCmd (bool clearColors, bool clearDepth, Color color) |
Protected Types | |
| using | Cmd = std::variant< DrawCmd, DynamicDrawCmd, RenderPassCmd > |
Protected Member Functions | |
| const std::vector< Cmd > & | GetDrawCmds () const |
| bool | IsEmpty () const |
| void | Reset () |
Friends | |
| class | Graphics::RendererOGL |
|
protected |
| void CommandList::AddClearCmd | ( | bool | clearColors, |
| bool | clearDepth, | ||
| Color | color | ||
| ) |

| void CommandList::AddDrawCmd | ( | Graphics::MeshObject * | mesh, |
| Graphics::Material * | mat, | ||
| Graphics::InstanceBuffer * | inst = nullptr |
||
| ) |

| void CommandList::AddDynamicDrawCmd | ( | BufferBinding< Graphics::VertexBuffer > | vtx, |
| BufferBinding< Graphics::IndexBuffer > | idx, | ||
| Graphics::Material * | mat | ||
| ) |

| void CommandList::AddRenderPassCmd | ( | RenderTarget * | renderTarget, |
| ViewportExtents | extents | ||
| ) |

| void CommandList::AddScissorCmd | ( | ViewportExtents | extents | ) |

|
inlineprotected |
|
inlineprotected |
|
protected |
|
friend |