nCine::RHI::D3D11::D3D11Renderbuffer class

Renderbuffer stub of the Direct3D 11 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. An ID3D11Texture2D depth/stencil could be added here when needed.

Constructors, destructors, conversion operators

D3D11Renderbuffer() defaulted

Public functions

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