Class Context

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class Context : public CE::Rendering::PresentationSurface

OpenGL context supplied by a compatible platform adapter, not by the renderer.

Context operations and resource uploads must run on the thread owning this context.

Subclassed by CE::Rendering::OpenGL::GLFWContext

Public Types

using ProcAddress = void (*)()

Public Functions

virtual void make_current() = 0
virtual void release_current() = 0
virtual bool is_current() const = 0

Declaration: [[nodiscard]]

virtual ProcAddress proc_address(const char *name) const = 0

Declaration: [[nodiscard]]