nCine::RHI::Vulkan::VulkanRenderbuffer class

Renderbuffer stub of the Vulkan 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 VkImage could be added here when needed.

Constructors, destructors, conversion operators

VulkanRenderbuffer() defaulted

Public functions

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