|
SleakEngine 1.0.0
C++23 multi-backend game engine
|
Constant buffer write, captured by value into inline storage or a heap fallback for larger payloads. More...
#include <RenderCommands.hpp>
Public Member Functions | |
| UpdateConstantBufferCommand (RefPtr< BufferBase > buffer, void *Data, uint16_t Size) | |
| Copies the payload into inline storage, falling back to a heap allocation past INLINE_CAPACITY. | |
| ~UpdateConstantBufferCommand () override | |
| void | Execute (RenderContext *context) override |
| Replays this command into the main forward/deferred pass. | |
| void * | GetData () const |
| Returns a pointer to the captured payload, inline or heap-backed. | |
| 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) |
Constant buffer write, captured by value into inline storage or a heap fallback for larger payloads.
Definition at line 118 of file RenderCommands.hpp.
| Sleak::RenderEngine::UpdateConstantBufferCommand::UpdateConstantBufferCommand | ( | RefPtr< BufferBase > | buffer, |
| void * | Data, | ||
| uint16_t | Size ) |
Copies the payload into inline storage, falling back to a heap allocation past INLINE_CAPACITY.
Definition at line 111 of file RenderCommands.cpp.
|
inlineoverride |
Definition at line 121 of file RenderCommands.hpp.
|
overridevirtual |
Replays this command into the main forward/deferred pass.
Implements Sleak::RenderEngine::RenderCommandBase.
Definition at line 130 of file RenderCommands.cpp.
|
inline |
Returns a pointer to the captured payload, inline or heap-backed.
Definition at line 128 of file RenderCommands.hpp.
|
inlineoverridevirtual |
Implements Sleak::RenderEngine::RenderCommandBase.
Definition at line 125 of file RenderCommands.hpp.