SleakEngine 1.0.0
C++23 multi-backend game engine
Loading...
Searching...
No Matches
Sleak::RenderEngine::ConstantBuffer Struct Referenceabstract

Interface for a CPU-side payload that can be uploaded to a GPU constant buffer. More...

#include <ConstantBuffer.hpp>

Inheritance diagram for Sleak::RenderEngine::ConstantBuffer:

Public Member Functions

virtual void * GetData () const =0
virtual uint16_t GetSize () const =0

Detailed Description

Interface for a CPU-side payload that can be uploaded to a GPU constant buffer.

Definition at line 75 of file ConstantBuffer.hpp.

Member Function Documentation

◆ GetData()

virtual void * Sleak::RenderEngine::ConstantBuffer::GetData ( ) const
pure virtual

◆ GetSize()

virtual uint16_t Sleak::RenderEngine::ConstantBuffer::GetSize ( ) const
pure virtual