12#include "../render_context.h"
52 virtual void Bind(
u32 BindingPoint)
const = 0;
143 virtual void Update(
const void *Vertices,
u32 Count) = 0;
static shared< constant_buffer > Create(u32 Size)
virtual void Update(void *Data, u32 Size)=0
virtual void Unbind() const =0
virtual ~constant_buffer()=default
virtual void Bind(u32 BindingPoint) const =0
virtual void Bind() const =0
virtual void Update(u32 *Indices, u32 Count)=0
virtual u32 GetCount() const =0
virtual void Unbind() const =0
virtual ~index_buffer()=default
static shared< index_buffer > Create(u32 *Indices, u32 Count)
virtual ~vertex_buffer()=default
static shared< vertex_buffer > Create(u32 Count, const vertex_layout &VertexLayout)
virtual void Update(const void *Vertices, u32 Count)=0
vertex_layout VertexLayout
virtual u32 GetCount() const =0
vertex_buffer(const vertex_layout &VertexLayout)
virtual void Bind() const =0
vertex_layout GetVertexLayout() const
virtual void Unbind() const =0
std::shared_ptr< T > shared
Render primitive abstract class definition module.
Vertex description and storage classes definition module.