nCine::RHI::GX2::Gx2VertexArray class

Vertex array object stub of the GX2 backend (aliased as RHI::VertexArray).

GX2 has no vertex-array object: every attribute's format, stride and source offset is programmed per draw. This only satisfies the contract alias with inert bind/label operations.

Public static functions

static auto Unbind() -> bool

Constructors, destructors, conversion operators

Gx2VertexArray() defaulted
~Gx2VertexArray() defaulted
Gx2VertexArray(const Gx2VertexArray&) deleted

Public functions

auto operator=(const Gx2VertexArray&) -> Gx2VertexArray& deleted
auto GetGLHandle() const -> std::uint32_t
auto Bind() const -> bool
void SetObjectLabel(StringView label)