OpenGLESContextFactory

Description

sealed class Tinman.AddOns.OpenGLES.OpenGLESContextFactory

Derived from

GraphicsContextFactory abstract

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

Factory for OpenGLESContext.

The graphics contexts produced by this factory use the following directories in the shader repository (see IGraphicsContextFactory.ShaderRepository):

  • glsl/
    Shared GLSL source code for compilation by the OpenGLES implementation at runtime.

  • glsl.gles30/
    Entry points for GLSL programs for OpenGLES 3.0 (or newer).

  • glsl.cache/
    Cached for GLSL programs binaries in machine-specific format.

Public / Constructors

Open​GLESContext​Factory


public constructor OpenGLESContextFactory → ()

Creates a new instance of OpenGLESContextFactory.

Public / Attributes

Plain


public attribute Plain → (get,set)

value : bool

true to use plain mode,
false to use regular mode,

Create a graphics context in plain mode?

Defaults to false.

See also

GLBase.Plain

Configuration

Config


public static attribute Config → (get)

value : IConfigurator<IGraphicsContextFactory>

[not-null]
The configurator object.

The configurator object for this type.