IApplicationWindowFactory
Description
- Extended by
-
ApplicationWindowFactory abstract
Base interface for classes that create instances of IApplicationWindow and associated GL render contexts.
- See also
Public / Methods
CanCreateApplicationWindow
Checks if CreateApplicationWindow may return a non-null value for the given flags opt.
Even if this method returns true
, the corresponding call to CreateApplicationWindow may still return null
, because of circumstances that an implementation can only detect at call-time.
CreateApplicationWindow
Creates a new top-level window.
Use ApplicationWindow.Create to create a top-level window while choosing a suitable factory automatically.
CreateRenderContext
Creates a new RenderContext object for the given API.
The returned RenderContext will not be active, i.e. RenderContext.IsActive will return false
. The created native render context is owned by the returned object.
CurrentRenderContext
Creates a RenderContext object that wraps the current render context of the calling thread.
The returned RenderContext will be active, in the same way as if RenderContext.Begin had been called once. The calling code remains the owner of the native render context, the returned object only wraps it.
Public / Attributes
CanClipboard
Checks if Clipboard may return a non-null value.
Even if this property returns true
, getting Clipboard may still return null
, because of circumstances that an implementation can only detect at call-time.
Clipboard
Accesses the text content of the system clipboard.
If the system clipboard cannot be accessed (for any reason), setting this property will have no effect and getting it will always return null
. Use ApplicationUtil.Clipboard to access the system clipboard while choosing a factory automatically.