Home -> WindowInfoAppKit -> Constructor
Description
The WindowInfoAppKit constructor creates a platform binding structure and initializes the inherited structureSizeInBytes and type discriminator fields.
Usage
#ifdef __OBJC__
WindowInfoAppKit(void* view, const V2UInt32& windowSizeInPixels);
#else
WindowInfoAppKit(NSView* view, const V2UInt32& windowSizeInPixels);
#endif
Argument list
- view [void* / NSView*]
- The AppKit view to bind. Objective-C++ builds use void*; non-Objective-C++ builds use the forward-declared NSView* type.
- windowSizeInPixels [const V2UInt32&]
- The current drawable view size in pixels.