Home -> PlatformBindings -> WindowInfoWin32

Declaration

struct WindowInfoWin32 : public IFrameBuffer::WindowInfoBase;

Description

The WindowInfoWin32 structure describes a Win32 window for IFrameBuffer.BindWindow.

Availability: Windows when COBALT_RENDERER_WIN32_SUPPORT is enabled. This is automatically enabled on Windows unless platform binding selection is manual.

Members

Name Type Description
Public member instanceHandle HINSTANCE
The Win32 application instance handle, or nullptr when not supplied.
Public member windowHandle HWND
The Win32 window handle.
Public member windowSizeInPixels V2UInt32
The drawable window size in pixels.

Constructors

Name Description
Public member Constructor
Creates a WindowInfoWin32 structure.

See also