nCine::RHI::GU::GuRenderbuffer class

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

The GU 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

GuRenderbuffer() defaulted

Public functions

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