WindowDrawable.WindowDrawable Constructors
Initializes a new instance of the WindowDrawable class.
Overload List
Name | Description | |
---|---|---|
Public method | WindowDrawable(System.IntPtr handle) | Initializes a new instance of the WindowDrawable class with the given window handle. |
Public method | WindowDrawable(System.IntPtr handle, Renderer renderer) | Initializes a new instance of the WindowDrawable class with the given window handle and renderer. |
WindowDrawable(System.IntPtr handle)
Initializes a new instance of the WindowDrawable class with the given window handle.Syntax
public WindowDrawable (
System.IntPtr handle
)
Parameters
The window handle of an existing application window.
Remarks
The window handle may be passed as null during but must then be set with the Handle property before the drawable is first used.
WindowDrawable(System.IntPtr handle, Renderer renderer)
Initializes a new instance of the WindowDrawable class with the given window handle and renderer.Syntax
public WindowDrawable (
System.IntPtr handle,
Renderer renderer
)
Parameters
The window handle of an existing application window.
The graphics renderer to use.
Remarks
The window handle may be passed as null but must then be set with the Handle property before the drawable is first used.
Please see the Graphics renderers supported by Carmenta Engine page for information about the supported graphics renderers.
Platforms
Windows, Linux, Android