|
SleakEngine 1.0.0
C++23 multi-backend game engine
|
Non-indexed draw command with its vertex and constant buffers. More...
#include <RenderCommands.hpp>
Public Member Functions | |
| DrawCommand (RefPtr< BufferBase > vertexBuffer, List< RefPtr< BufferBase > > constantBuffers, uint32_t vertexCount, uint32_t startVertexLocation=0) | |
| void | Execute (RenderContext *context) override |
| Replays this command into the main forward/deferred pass. | |
| void | ExecuteShadow (RenderContext *context) override |
| CommandType | GetType () const override |
| bool | IsSkinned () const override |
| Public Member Functions inherited from Sleak::RenderEngine::RenderCommandBase | |
| virtual | ~RenderCommandBase ()=default |
| bool | CastsShadow () const |
| uint32_t | GetOwnerObjectID () const |
| void | SetCastsShadow (bool v) |
| void | SetOwnerObjectID (uint32_t id) |
Non-indexed draw command with its vertex and constant buffers.
Definition at line 73 of file RenderCommands.hpp.
| Sleak::RenderEngine::DrawCommand::DrawCommand | ( | RefPtr< BufferBase > | vertexBuffer, |
| List< RefPtr< BufferBase > > | constantBuffers, | ||
| uint32_t | vertexCount, | ||
| uint32_t | startVertexLocation = 0 ) |
Definition at line 13 of file RenderCommands.cpp.
|
overridevirtual |
Replays this command into the main forward/deferred pass.
Implements Sleak::RenderEngine::RenderCommandBase.
Definition at line 21 of file RenderCommands.cpp.
|
overridevirtual |
Reimplemented from Sleak::RenderEngine::RenderCommandBase.
Definition at line 30 of file RenderCommands.cpp.
|
inlineoverridevirtual |
Implements Sleak::RenderEngine::RenderCommandBase.
Definition at line 82 of file RenderCommands.hpp.
|
overridevirtual |
Reimplemented from Sleak::RenderEngine::RenderCommandBase.
Definition at line 41 of file RenderCommands.cpp.