|
SleakEngine 1.0.0
C++23 multi-backend game engine
|
Per-draw world-view-projection and world matrices. More...
#include <ConstantBuffer.hpp>
Public Member Functions | |
| TransformBuffer (const Sleak::Math::Matrix4 &mvp) | |
| Takes a pre-composed WVP with an identity world matrix (e.g. skybox, UI). | |
| TransformBuffer (const Sleak::Math::Matrix4 &world, const Sleak::Math::Matrix4 &view, const Sleak::Math::Matrix4 &proj) | |
| Composes WVP from world/view/proj and keeps World separately for lighting. | |
| virtual void * | GetData () const override |
| virtual uint16_t | GetSize () const override |
Per-draw world-view-projection and world matrices.
Definition at line 83 of file ConstantBuffer.hpp.
|
inline |
Composes WVP from world/view/proj and keeps World separately for lighting.
Definition at line 86 of file ConstantBuffer.hpp.
|
inlineexplicit |
Takes a pre-composed WVP with an identity world matrix (e.g. skybox, UI).
Definition at line 93 of file ConstantBuffer.hpp.
|
inlineoverridevirtual |
Implements Sleak::RenderEngine::ConstantBuffer.
Definition at line 97 of file ConstantBuffer.hpp.
|
inlineoverridevirtual |
Implements Sleak::RenderEngine::ConstantBuffer.
Definition at line 101 of file ConstantBuffer.hpp.