class
#include <OE/Application/ContextImpl.hpp>
ContextImpl
Contents
Derived classes
- class D3DContext
- class GLContext
- class VKContext
Public static functions
- static auto GetCurrent() -> ContextImpl*
- static auto GetCurrentAPI() -> RenderAPI
Constructors, destructors, conversion operators
- ~ContextImpl() virtual
- ContextImpl(WindowImpl* window) protected
Public functions
- void prepare() virtual
- void present() pure virtual
- void makeCurrent(bool active = true) virtual
-
void resizeContext(Math::
Vec2i size) virtual - auto isReady() -> bool virtual
- auto getName() -> const std::string pure virtual
- auto getAPI() -> const RenderAPI pure virtual
-
auto getSize() -> Math::
Vec2i - auto getWindowImpl() -> WindowImpl*
-
auto getGlobalStates() -> Graphics::
States* -
auto getDefaultFramebuffer() -> Graphics::
FrameBuffer*
Protected functions
- void contextInitialized() virtual
Protected static variables
- static ContextImpl* s_CurrentContext