RenderContext
Description
- Derived from
-
Disposable abstract
INativeHandle - Extended by
-
WGLContext sealed
Full source code is included in the Tinman 3D SDK download. |
Abstract base for classes that represent a render context for a specific API.
Public / Methods
Begin
Begins to use this render context as the current one of the calling thread.
Each call to Begin that returns true
must have a paired call to End. Calls to Begin and End may be nested. This render context will be made current upon the first call to Begin.
- See also
BeginThrow
Calls Begin and throws an exception if it returns false
.
- RenderException
-
If Begin has returned
false
.
End
Ends using this render context as the current one of the calling thread.
This render context will be made not current upon the last call to End or when the RenderContext object is disposed. If End is called without a matching call to Begin, it will return silently.
- See also
Present
Presents the current renderings using the window that has been specified with Prepare, using the presentation mode of this render context.