sealed class Tinman.AddOns.OpenGL.OpenGLContext

Derived from

GraphicsContext abstract

Full source code is included in the Tinman 3D SDK download.

An implementation of the IGraphicsContext that uses an OpenGL 4.1 context.

You can use the OpenGLContextFactory object to configure and create an instance of this class. Also you can use the constructor to wrap an existing GL object.

The returned INativeHandles can be interpreted as follows:

Public / Constructors


public constructor OpenGLContext → (3)

renderContext in : RenderContext own

The RenderContext object to use for GLApi.OpenGL_41.

availableVideoMemory in : int32

See IGraphicsContextFactory.AvailableVideoMemory.

shaderRepository in : Path

See IGraphicsContextFactory.ShaderRepository.

Creates a new instance of OpenGLContext.


If a graphics subsystem error has occurred.