nCine::RHI::Software::SwRenderbuffer class

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

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

SwRenderbuffer() defaulted

Public functions

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