ShaderShaderCode Enumeration |
Enumerates all the pre-implemented shaders provided by SGDK2
Namespace: (Default Namespace)Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax Members
| Member name | Value | Description |
---|
| VertexShaderTextured | 0 |
Vertex shader used when drawing tiles to include pixels from a graphic sheet while drawing.
|
| VertexShaderSolidColors | 1 |
Vertex shader used when drawing lines and rectangles that aren't textured.
|
| FragmentShaderWithNormals | 2 |
Fragment shader used when drawing tiles from a graphic sheet that has a normal map associated with it.
|
| FragmentShaderFlat | 3 |
Fragment shader used when drawing tiles from a graphic sheet that does not have a normal map associated with it.
|
| FragmentShaderSolid | 4 |
Fragment shader used when drawing non-textured graphics like lines and rectangles.
|
| FragmentShaderNoLights | 5 |
Fragment shader used when drawing textured gaphics, but lighting (and bump mapping) is disabled.
|
See Also