Click or drag to resize

RenderCanvas Class

A render canvas object references the physical output screen space real estate (e.g. the rendering window). A typical Game application will inherit from this class and overrite methods to implement your user code to to be performed on events like initialization, resize, and display refresh. In the future, it will be likely that this class' functionality will be divided at two different places with one containing the more view oriented aspects and the other containing the more application oriented aspects.
Inheritance Hierarchy

Namespace:  Fusee.Engine.Core
Assembly:  Fusee.Engine.Core (in Fusee.Engine.Core.dll) Version: (
public class RenderCanvas

The RenderCanvas type exposes the following members.

Public methodRenderCanvas
Initializes a new instance of the RenderCanvas class
Public propertyAudioImplementor
Gets or sets the audio implementor.
Public propertyCanvasImplementor
Gets or sets the canvas implementor.
Public propertyContextImplementor
Gets or sets the RenderContext implementor.
Public propertyFullscreen
Gets or sets a value indicating whether this RenderCanvas is fullscreen.
Public propertyHeight
Retrieves the height of the canvas.
Public propertyInputDriverImplementor
Gets or sets the input driver implementor.
Public propertyNetworkImplementor
Gets or sets the network implementor.
Protected propertyRC
Returns the render context object.
Public propertyVideoManagerImplementor
Gets or sets the video manager implementor.
Public propertyVSync
Gets or sets a value indicating whether VSync is active.
Public propertyWidth
Retrieves the width of the canvas.
Public methodCloseGameWindow
Closes the GameWindow with a call to opentk.
Public methodDeInit
Used to release the ressources of all audio and network instances. All audio and network ressources get reset.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetAppName
Gets the name of the app.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodGetWindowHeight
Gets the height of the application's window.
Protected methodGetWindowWidth
Gets the width of the application's window.
Public methodInit
Callback method to invoke user code after initialization of the render canvas.
Protected methodInitCanvas
Inits the canvas for the rendering loop.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOpenLink
Opens the given URL in the user's standard web browser. The link MUST start with "http://".
Public methodPresent
Presents the contents of the backbuffer on the visible part of this render canvas.
Public methodRenderAFrame
Callback method to invoke user code for rendering a frame.
Public methodResize
Callback method to invoke user code when the render canvas size changes.
Public methodRun
Runs this instance.
Public methodSetCursor
Set the cursor (the mouse pointer image) to one of the pre-defined types
Public methodSetWindowSize
Sets the size of the output window for desktop development.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also