void activateContextOf(nkWinUi::Window *win)
const std::unordered_map< void *, nkMemory::UniquePtr< RenderContext > > & getRenderContextMap() const
RenderContext * getActiveRenderContext() const
A descriptor, used when creating a context along with its window.
Definition: RenderContextDescriptor.h:14
void activateContext(RenderContext *context)
A rendering context, attached to a window or an offscreen texture.
Definition: RenderContext.h:14
void erase(RenderContext *context)
Manages the render contexts recorded.
Definition: RenderContextManager.h:15
RenderContext * getDefaultRenderContext() const
void eraseFor(nkWinUi::Window *win)
RenderContext * createRenderContext(const RenderContextDescriptor &contextDesc)
RenderContext * getRenderContextOf(nkWinUi::Window *win) const