|
SleakEngine 1.0.0
C++23 multi-backend game engine
|
Binds a shader program for subsequent draws. More...
#include <RenderCommands.hpp>
Public Member Functions | |
| BindShaderCommand (RefPtr< Shader > shader) | |
| void | Execute (RenderContext *context) override |
| Replays this command into the main forward/deferred pass. | |
| 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 shader program for subsequent draws.
Definition at line 171 of file RenderCommands.hpp.
|
overridevirtual |
Replays this command into the main forward/deferred pass.
Implements Sleak::RenderEngine::RenderCommandBase.
|
inlineoverridevirtual |
Implements Sleak::RenderEngine::RenderCommandBase.
Definition at line 175 of file RenderCommands.hpp.