OpenGLEffect

Description

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

Derived from

GLEffect<TParameters> abstract

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

Abstract base class for OpenGL 4.1 Core Profile IRenderEffect implementations.

The GLEffect.RenderStateDefault method sets the following state values:

The GLEffect.SamplerStateDefault method sets the following state values:

Render and sampler state of extensions will only be set if the extension is supported.

Protected / Constructors

OpenGLEffect


protected constructor OpenGLEffect → (2)

parameters in : TParameters

[not-null]
The render effect parameters object.

owner in : OpenGLContext

[not-null]
The owning context.

Creates a new instance of OpenGLEffect.