|
Graphics.Rendering.OpenGL.GL.Shaders | Portability | portable | Stability | stable | Maintainer | sven.panne@aedion.de |
|
|
|
|
|
Description |
This module corresponds to sections 2.15 (Vertex Shaders) and section 3.11
(Fragment Shaders) of the OpenGL 2.1 specs.
|
|
Synopsis |
|
|
|
|
Shader Objects
|
|
|
| Instances | |
|
|
|
Instances | |
|
|
|
Instances | |
|
|
|
|
|
|
|
|
|
|
|
|
Program Objects
|
|
|
Instances | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Vertex attributes
|
|
|
|
|
Constructors | Float' | | FloatVec2 | | FloatVec3 | | FloatVec4 | | FloatMat2 | | FloatMat3 | | FloatMat4 | | Int' | | IntVec2 | | IntVec3 | | IntVec4 | | Bool | | BoolVec2 | | BoolVec3 | | BoolVec4 | | Sampler1D | | Sampler2D | | Sampler3D | | SamplerCube | | Sampler1DShadow | | Sampler2DShadow | |
| Instances | |
|
|
|
|
Uniform variables
|
|
|
Instances | |
|
|
|
|
|
|
|
| Methods | | | Instances | |
|
|
|
| Instances | |
|
|
Implementation limits related to GLSL
|
|
|
Contains the number of hardware units that can be used to access texture
maps from the vertex processor. The minimum legal value is 0.
|
|
|
Contains the total number of hardware units that can be used to access
texture maps from the fragment processor. The minimum legal value is 2.
|
|
|
Contains the total number of hardware units that can be used to access
texture maps from the vertex processor and the fragment processor combined.
Note: If the vertex shader and the fragment processing stage access the same
texture image unit, then that counts as using two texture image units. The
minimum legal value is 2.
|
|
|
Contains the number of texture coordinate sets that are available. The
minimum legal value is 2.
|
|
|
Contains the number of individual components (i.e., floating-point, integer
or boolean values) that are available for vertex shader uniform variables.
The minimum legal value is 512.
|
|
|
Contains the number of individual components (i.e., floating-point, integer
or boolean values) that are available for fragment shader uniform variables.
The minimum legal value is 64.
|
|
|
Contains the number of active vertex attributes that are available. The
minimum legal value is 16.
|
|
|
Contains the number of individual floating-point values available for
varying variables. The minimum legal value is 32.
|
|
Produced by Haddock version 0.9 |