nCine::RHI::LegacyGL::LegacyGlFramebuffer class

Framebuffer stub of the legacy GL backend (aliased as RHI::Framebuffer).

Provided only for the contract alias (the default-framebuffer rebinding some window backends use). Off-screen rendering goes through LegacyGlRenderTarget instead, which is what the pipeline actually creates.

Public static functions

static auto Unbind() -> bool

Constructors, destructors, conversion operators

LegacyGlFramebuffer() defaulted

Public functions

auto GetGLHandle() const -> std::uint32_t
auto Bind() const -> bool