|
SleakEngine 1.0.0
C++23 multi-backend game engine
|
One recorded draw plus the state it needs to replay into a command list. More...
#include <RenderCommands.hpp>
Public Member Functions | |
| virtual | ~RenderCommandBase ()=default |
| bool | CastsShadow () const |
| virtual void | Execute (RenderContext *context)=0 |
| Replays this command into the main forward/deferred pass. | |
| virtual void | ExecuteShadow (RenderContext *context) |
| uint32_t | GetOwnerObjectID () const |
| virtual CommandType | GetType () const =0 |
| virtual bool | IsSkinned () const |
| void | SetCastsShadow (bool v) |
| void | SetOwnerObjectID (uint32_t id) |
One recorded draw plus the state it needs to replay into a command list.
Definition at line 50 of file RenderCommands.hpp.
|
virtualdefault |
|
inline |
Definition at line 65 of file RenderCommands.hpp.
|
pure virtual |
Replays this command into the main forward/deferred pass.
Implemented in Sleak::RenderEngine::BindConstantBufferCommand, Sleak::RenderEngine::BindMaterialCommand, Sleak::RenderEngine::BindShaderCommand, Sleak::RenderEngine::BindTextureCommand, Sleak::RenderEngine::CustomCommand, Sleak::RenderEngine::DrawCommand, Sleak::RenderEngine::DrawIndexedCommand, Sleak::RenderEngine::SetRenderFaceCommand, Sleak::RenderEngine::SetRenderModeCommand, and Sleak::RenderEngine::UpdateConstantBufferCommand.
|
inlinevirtual |
Reimplemented in Sleak::RenderEngine::DrawCommand, and Sleak::RenderEngine::DrawIndexedCommand.
Definition at line 56 of file RenderCommands.hpp.
|
inline |
Definition at line 60 of file RenderCommands.hpp.
|
pure virtual |
Implemented in Sleak::RenderEngine::BindConstantBufferCommand, Sleak::RenderEngine::BindMaterialCommand, Sleak::RenderEngine::BindShaderCommand, Sleak::RenderEngine::BindTextureCommand, Sleak::RenderEngine::CustomCommand, Sleak::RenderEngine::DrawCommand, Sleak::RenderEngine::DrawIndexedCommand, Sleak::RenderEngine::SetRenderFaceCommand, Sleak::RenderEngine::SetRenderModeCommand, and Sleak::RenderEngine::UpdateConstantBufferCommand.
|
inlinevirtual |
Reimplemented in Sleak::RenderEngine::DrawCommand, and Sleak::RenderEngine::DrawIndexedCommand.
Definition at line 57 of file RenderCommands.hpp.
|
inline |
Definition at line 64 of file RenderCommands.hpp.
|
inline |
Definition at line 59 of file RenderCommands.hpp.