|
SleakEngine 1.0.0
C++23 multi-backend game engine
|
Indexed draw command with its vertex, index, and constant buffers. More...
#include <RenderCommands.hpp>
Public Member Functions | |
| DrawIndexedCommand (RefPtr< BufferBase > vertexBuffer, RefPtr< BufferBase > indexBuffer, List< RefPtr< BufferBase > > constantBuffers, uint32_t indexCount, uint32_t startIndexLocation=0, int32_t baseVertexLocation=0) | |
| void | Execute (RenderContext *context) override |
| Binds buffers, routes bone data through the skinned pipeline when present, then draws. | |
| 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) |
Indexed draw command with its vertex, index, and constant buffers.
Definition at line 94 of file RenderCommands.hpp.
| Sleak::RenderEngine::DrawIndexedCommand::DrawIndexedCommand | ( | RefPtr< BufferBase > | vertexBuffer, |
| RefPtr< BufferBase > | indexBuffer, | ||
| List< RefPtr< BufferBase > > | constantBuffers, | ||
| uint32_t | indexCount, | ||
| uint32_t | startIndexLocation = 0, | ||
| int32_t | baseVertexLocation = 0 ) |
Definition at line 48 of file RenderCommands.cpp.
|
overridevirtual |
Binds buffers, routes bone data through the skinned pipeline when present, then draws.
Implements Sleak::RenderEngine::RenderCommandBase.
Definition at line 62 of file RenderCommands.cpp.
|
overridevirtual |
Reimplemented from Sleak::RenderEngine::RenderCommandBase.
Definition at line 91 of file RenderCommands.cpp.
|
inlineoverridevirtual |
Implements Sleak::RenderEngine::RenderCommandBase.
Definition at line 104 of file RenderCommands.hpp.
|
overridevirtual |
Reimplemented from Sleak::RenderEngine::RenderCommandBase.
Definition at line 103 of file RenderCommands.cpp.