Class WPFWindowsSystem
WPF Windows system.
Inherited Members
Namespace: Evergine.WPF
Assembly: Evergine.WPF.dll
Syntax
public class WPFWindowsSystem : WindowsSystem, IDisposable, IGetNativePointers
Constructors
WPFWindowsSystem()
Initializes a new instance of the WPFWindowsSystem class.
Declaration
public WPFWindowsSystem()
WPFWindowsSystem(Application)
Initializes a new instance of the WPFWindowsSystem class.
Declaration
public WPFWindowsSystem(Application application)
Parameters
Type | Name | Description |
---|---|---|
Application | application | The WPF application isntance. |
Methods
CreateLoopThread(Action, Action)
Creates a loop thread.
Declaration
protected override void CreateLoopThread(Action loadAction, Action renderCallback)
Parameters
Type | Name | Description |
---|---|---|
Action | loadAction | The load action. |
Action | renderCallback | The render callback action. |
Overrides
CreateSurface(object)
Create a surface.
Declaration
public override Surface CreateSurface(object nativeSurface)
Parameters
Type | Name | Description |
---|---|---|
object | nativeSurface | The native surface control. |
Returns
Type | Description |
---|---|
Surface | Surface instance. |
Overrides
CreateSurface(uint, uint)
Create a surface.
Declaration
public override Surface CreateSurface(uint width, uint height)
Parameters
Type | Name | Description |
---|---|---|
uint | width | Surface width. |
uint | height | Surface height. |
Returns
Type | Description |
---|---|
Surface | Surface instance. |
Overrides
CreateWindow(string, uint, uint, bool)
Create a Window.
Declaration
public override Window CreateWindow(string title, uint width, uint height, bool visible = true)
Parameters
Type | Name | Description |
---|---|---|
string | title | Window title. |
uint | width | Window width. |
uint | height | Window height. |
bool | visible | Window visibility. |
Returns
Type | Description |
---|---|
Window | Window instance. |
Overrides
Destroy()
Destroy all resources.
Declaration
protected override void Destroy()