RenderContext Class |
Namespace: Lumiscaphe.Workshop.Interop
The RenderContext type exposes the following members.
Name | Description | |
---|---|---|
GpuAffinity |
Gets the GPU description for a GPU affinity context.
| |
IsDestroyed |
Gets a value indicating whether this instance is destroyed.
| |
IsFromCurrent |
Gets a value indicating whether the context is created from an external OpenGL context.
| |
IsGpuAffinity |
Gets a value indicating whether the context supports the GPU affinity.
| |
IsInitial |
Gets a value indicating whether the context is the initial OpenGL context.
| |
IsStereo |
Gets a value indicating whether the context supports stereo rendering.
| |
IsWindow |
Gets a value indicating whether the context is attached to a window handle.
| |
SwapGroup |
Gets or sets a value indicating whether the window context belong to the swap group. It means that along window context belonging to the swap group are synchronized during the buffer swaps. | |
TotalGpuMemMb |
Gets the total GPU memory in Mb.
| |
UsedGpuMemMb |
Gets the GPU memory consumption in Mb used by the context.
| |
VerticalSync |
Gets or sets a value indicating whether vertical synchronization is enabled.
|
Name | Description | |
---|---|---|
Destroy |
Destroys this instance.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finish |
Block until all OpenGL execution is complete.
| |
Flush |
Force execution of OpenGL commands in finite time.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MakeCurrent |
Sets the context as the current OpenGL context.
| |
SwapBuffers |
Swaps the OpenGL buffers.
| |
ToString |
Format the RenderContext to a String.
(Overrides ObjectToString.) | |
UnMakeCurrent |
Unset the context as the current OpenGL context.
|