OpenGLEffect

Description

abstract class Tinman.AddOns.OpenGL.Effects.OpenGLEffect
<TParameters : RenderEffectParameters>

Derived from

GLEffect<TParameters> abstract

Extended by

Example_Demo_GL_A sealed
Example_Demo_GL_B sealed
Example_Demo_GL_C sealed

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

Abstract base class for IRenderEffect implementations that use an OpenGL 4.1 Core Profile context (or newer).

These are the default render state values that are set by the GLEffect.RenderStateDefault method; (!) means that the value differs from the standard value that is defined by OpenGL:

Protected / Constructors

Open​GLEffect


protected constructor OpenGLEffect → (4)

parameters in : TParameters

[not-null]
The render effect parameters object.

owner in : OpenGLContext

[not-null]
The owning context.

repositoryPrivate in : Path

[not-null]
The private GPU shader repository path or Path.Unknown if none.

parameterDeclareWithFlags opt : int32 = -1

The flags to use for calling RenderEffectParameters.Declare or -1 to not perform the call.

Creates a new instance of OpenGLEffect.

RenderException

If an error has occurred while declaring low-level render effect parameter slots.

Protected / Attributes

gl


protected attribute gl → (GL)

The GL wrapper.