Struct VertexArray
Defined in File vertex-array-object.h
Inheritance Relationships
Base Type
public CE::Rendering::Geometry::Buffer2D(Struct Buffer2D)
Struct Documentation
-
struct VertexArray : public CE::Rendering::Geometry::Buffer2D
Declaration:
finalPublic Functions
-
virtual void bind() const override
-
virtual void draw(std::size_t first_vertex, std::size_t vertex_count) const override
-
inline virtual ::CE::Rendering::Geometry::Layout2D vertex_layout() const noexcept override
Declaration:
[[nodiscard]]
-
inline virtual ::CE::Rendering::Geometry::Topology topology() const noexcept override
Declaration:
[[nodiscard]]
-
inline virtual std::size_t vertex_count() const noexcept override
Declaration:
[[nodiscard]]
-
inline const ::CE::Rendering::OpenGL::ResourceLifetime *resource_domain() const noexcept
Declaration:
[[nodiscard]]
-
void require_draw(std::size_t first_vertex, std::size_t vertex_count) const
Protected Attributes
-
std::size_t vertex_count_ = 0
-
virtual void bind() const override