|
SleakEngine 1.0.0
C++23 multi-backend game engine
|
Binds a constant buffer to a pipeline slot. More...
#include <RenderCommands.hpp>
Public Member Functions | |
| BindConstantBufferCommand (RefPtr< BufferBase > buffer, int slot) | |
| void | Execute (RenderContext *context) override |
| Replays this command into the main forward/deferred pass. | |
| RefPtr< BufferBase > | GetBuffer () const |
| int | GetSlot () const |
| CommandType | GetType () const override |
| Public Member Functions inherited from Sleak::RenderEngine::RenderCommandBase | |
| virtual | ~RenderCommandBase ()=default |
| bool | CastsShadow () const |
| virtual void | ExecuteShadow (RenderContext *context) |
| uint32_t | GetOwnerObjectID () const |
| virtual bool | IsSkinned () const |
| void | SetCastsShadow (bool v) |
| void | SetOwnerObjectID (uint32_t id) |
Binds a constant buffer to a pipeline slot.
Definition at line 145 of file RenderCommands.hpp.
| Sleak::RenderEngine::BindConstantBufferCommand::BindConstantBufferCommand | ( | RefPtr< BufferBase > | buffer, |
| int | slot ) |
Definition at line 135 of file RenderCommands.cpp.
|
overridevirtual |
Replays this command into the main forward/deferred pass.
Implements Sleak::RenderEngine::RenderCommandBase.
Definition at line 138 of file RenderCommands.cpp.
|
inline |
Definition at line 151 of file RenderCommands.hpp.
|
inline |
Definition at line 152 of file RenderCommands.hpp.
|
inlineoverridevirtual |
Implements Sleak::RenderEngine::RenderCommandBase.
Definition at line 149 of file RenderCommands.hpp.