GsRenderbuffer class
Renderbuffer stub of the GS backend (aliased as RHI::Renderbuffer).
The GS backend renders 2D only and runs without a Z buffer at all (the depth test is set to ALWAYS with writes masked, so the pointer is never touched and its pages stay free), so depth/stencil renderbuffers carry no storage; the class just records the format and size to satisfy the alias.
Constructors, destructors, conversion operators
- GsRenderbuffer() defaulted
Public functions
-
void Create(DepthStencilFormat format,
std::
int32_t width, std:: int32_t height) -
auto GetGLHandle() const -> std::
uint32_t