struct
render::RenderWindowSurfaceCreateInformation
Structure used for initializing an implementation of RenderWindowSurface.
Public
Fields
PlatformWindowHandle
u64 PlatformWindowHandle
Platform specific handle to the window we're creating the surface for.
VSync
bool VSync
VsyncInterval
u32 VsyncInterval
Number of refresh cycles between presents when is true. 1 = every refresh, 2 = half rate, etc.
Backends that don't support variable present rate ignore this.
CreateDepthBuffer
bool CreateDepthBuffer
UseHardwareSRGB
bool UseHardwareSRGB
Headless
bool Headless
When true, creates a headless surface for offscreen rendering (no OS window is created).