OpenGLEffect
Description
- 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:
-
GL.BlendColor : 1, 1, 1, 1 (!)
-
GL.ColorMask : true, true, true, true
-
GL.DepthFunc : GL.LEQUAL (!)
-
GL.DepthMask : true
-
GL.Disable : GL.DITHER (!)
-
GL.Enable : GL.SCISSOR_TEST (!)
-
GL.Enable : GL.CULL_FACE (!)
-
GL.Enable : GL.DEPTH_TEST (!)
-
GL.LineWidth : 1
-
GL.PointParameteri : GL.POINT_SPRITE_COORD_ORIGIN, GL.UPPER_LEFT
-
GL.PointSize : 1
-
GL.PolygonOffsetClamp : 0, 0, 0
-
GL.SampleCoverage : 1, false
-
GL.SampleMaski : 0..n, ~0
-
GL.StencilFunc : GL.ALWAYS, 0, ~0
-
GL.StencilMask : ~0
Protected / Constructors
OpenGLEffect
Creates a new instance of OpenGLEffect.
- RenderException
-
If an error has occurred while declaring low-level render effect parameter slots.