nCine::RHI::Metal::MetalRenderbuffer class

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

Carries no depth/stencil storage (the renderer is 2D); the class just records the format and size to satisfy the contract alias. A depth/stencil texture could be added here when needed.

Constructors, destructors, conversion operators

MetalRenderbuffer() defaulted

Public functions

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