Click or drag to resize

RenderContext Class

The RenderContext class defines the OpenGL context.
Inheritance Hierarchy
SystemObject
  Lumiscaphe.Workshop.InteropRenderContext

Namespace:  Lumiscaphe.Workshop.Interop
Assembly:  Lumiscaphe.Workshop.Interop (in Lumiscaphe.Workshop.Interop.dll) Version: 21.1.16.0
Syntax
public sealed class RenderContext

The RenderContext type exposes the following members.

Properties
  NameDescription
Public propertyGpuAffinity
Gets the GPU description for a GPU affinity context.
Public propertyIsDestroyed
Gets a value indicating whether this instance is destroyed.
Public propertyIsFromCurrent
Gets a value indicating whether the context is created from an external OpenGL context.
Public propertyIsGpuAffinity
Gets a value indicating whether the context supports the GPU affinity.
Public propertyIsInitial
Gets a value indicating whether the context is the initial OpenGL context.
Public propertyIsStereo
Gets a value indicating whether the context supports stereo rendering.
Public propertyIsWindow
Gets a value indicating whether the context is attached to a window handle.
Public propertySwapGroup
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.
Public propertyTotalGpuMemMb
Gets the total GPU memory in Mb.
Public propertyUsedGpuMemMb
Gets the GPU memory consumption in Mb used by the context.
Public propertyVerticalSync
Gets or sets a value indicating whether vertical synchronization is enabled.
Top
Methods
  NameDescription
Public methodDestroy
Destroys this instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFinish
Block until all OpenGL execution is complete.
Public methodFlush
Force execution of OpenGL commands in finite time.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMakeCurrent
Sets the context as the current OpenGL context.
Public methodSwapBuffers
Swaps the OpenGL buffers.
Public methodToString
Format the RenderContext to a String.
(Overrides ObjectToString.)
Public methodUnMakeCurrent
Unset the context as the current OpenGL context.
Top
Version Information

Lumiscaphe Workshop SDK

Supported in: 7.0 release 1
See Also