RenderContextDescriptor() noexcept
nkWinUi::GraphicsWindow * _window
For non off-screen context creation, an already existing window can be specified here....
Definition: RenderContextDescriptor.h:22
unsigned int _height
The height of the context, in pixels. Defauls to 1.
Definition: RenderContextDescriptor.h:18
A texture used for rendering, hosted on GPU.
Definition: Texture.h:35
A descriptor, used when creating a context along with its window.
Definition: RenderContextDescriptor.h:14
Texture * _texture
For off-screen context creation, an already existing texture to work on. Defaults to nullptr,...
Definition: RenderContextDescriptor.h:23
bool _offscreenContext
If the context should be used for offscreen rendering (no window created, only works with texture)....
Definition: RenderContextDescriptor.h:26
unsigned int _width
The width of the context, in pixels. Defaults to 1.
Definition: RenderContextDescriptor.h:17
bool _vsync
If the context should be using vsync (true) or not (false). Defaults to false.
Definition: RenderContextDescriptor.h:27