#include <Canvas.h>
Canvas for rendering a 2D UI
◆ Canvas()
◆ ~Canvas()
Free extra memory used by the canvas
◆ AddCanvasItem()
void UI::Canvas::AddCanvasItem |
( |
CanvasItem * |
canvasItem | ) |
|
|
inline |
◆ Bind()
void UI::Canvas::Bind |
( |
| ) |
|
|
overridevirtual |
Binds a canvas for rendering
Reimplemented from Renderable.
◆ CallDrawCommands()
void UI::Canvas::CallDrawCommands |
( |
nk_context * |
ctx | ) |
|
Calls the nuklear draw commands for all canvas items
◆ ClearCanvas()
void UI::Canvas::ClearCanvas |
( |
| ) |
|
|
inline |
◆ GetCommandBuffer()
nk_buffer* UI::Canvas::GetCommandBuffer |
( |
| ) |
|
|
inline |
◆ GetMaxIndexSize()
u32 UI::Canvas::GetMaxIndexSize |
( |
| ) |
|
|
inline |
◆ GetMaxVertexSize()
u32 UI::Canvas::GetMaxVertexSize |
( |
| ) |
|
|
inline |
◆ GetNull()
const nk_draw_null_texture UI::Canvas::GetNull |
( |
| ) |
|
|
inline |
◆ Setup()
void UI::Canvas::Setup |
( |
| ) |
|
|
overridevirtual |
Setups up buffers and shaders for a canvas
Reimplemented from Renderable.
◆ m_indexArray
◆ m_indexOffsets
The documentation for this class was generated from the following files:
- D:/RIT/FALCON_ENGINE/Falcon/Falcon/Rendering/PipeLine/Canvas.h
- D:/RIT/FALCON_ENGINE/Falcon/Falcon/Rendering/PipeLine/Canvas.cpp