Click or drag to resize
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
C#
public enum ShaderCode
Members
  Member nameValueDescription
VertexShaderTextured0 Vertex shader used when drawing tiles to include pixels from a graphic sheet while drawing.
VertexShaderSolidColors1 Vertex shader used when drawing lines and rectangles that aren't textured.
FragmentShaderWithNormals2 Fragment shader used when drawing tiles from a graphic sheet that has a normal map associated with it.
FragmentShaderFlat3 Fragment shader used when drawing tiles from a graphic sheet that does not have a normal map associated with it.
FragmentShaderSolid4 Fragment shader used when drawing non-textured graphics like lines and rectangles.
FragmentShaderNoLights5 Fragment shader used when drawing textured gaphics, but lighting (and bump mapping) is disabled.
See Also