nCine::RHI::GX::GxRenderbuffer class

Renderbuffer stub of the GX backend (aliased as RHI::Renderbuffer).

The GX backend renders 2D only, so depth/stencil renderbuffers carry no storage; the class just records the format and size to satisfy the contract alias.

Constructors, destructors, conversion operators

GxRenderbuffer() defaulted

Public functions

void Create(DepthStencilFormat format, std::int32_t width, std::int32_t height)
auto GetGLHandle() const -> std::uint32_t