Struct Buffer2D

Inheritance Relationships

Derived Type

Struct Documentation

struct Buffer2D

Subclassed by CE::Rendering::OpenGL::VertexArray

Public Functions

virtual ~Buffer2D() = default
virtual Layout2D vertex_layout() const noexcept = 0

Declaration: [[nodiscard]]

virtual Topology topology() const noexcept = 0

Declaration: [[nodiscard]]

virtual std::size_t vertex_count() const noexcept = 0

Declaration: [[nodiscard]]

virtual void bind() const = 0
virtual void draw(std::size_t first_vertex, std::size_t vertex_count) const = 0