Class Context
Defined in File context.h
Inheritance Relationships
Base Type
public CE::Rendering::PresentationSurface(Class PresentationSurface)
Derived Type
public CE::Rendering::OpenGL::GLFWContext(Class GLFWContext)
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]]
-
using ProcAddress = void (*)()