OpenGLESContext

Description

sealed class Tinman.AddOns.OpenGLES.OpenGLESContext

Derived from

GraphicsContext abstract

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

An implementation of the IGraphicsContext that uses an OpenGLES 3.0 context.

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

The returned INativeHandles can be interpreted as follows:

Public / Constructors

OpenGLESContext


public constructor OpenGLESContext → (3)

renderContext in : RenderContext

[not-null]
The RenderContext object to use for GLApi.OpenGLES_30.

availableVideoMemory in : int32

[>=0]
See IGraphicsContextFactory.AvailableVideoMemory.

shaderRepository in : Path

[not-null]
See IGraphicsContextFactory.ShaderRepository.

Creates a new instance of OpenGLESContext.

RenderException

If a graphics subsystem error has occurred.