aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/util/glsl/fixedfunc/ShaderSelectionMode.java
blob: 426fb0d85a8955add7a1cc30021119bd7aaa401c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.jogamp.opengl.util.glsl.fixedfunc;

/**
 * Shader selection mode
 *
 * @see ShaderSelectionMode#AUTO
 * @see ShaderSelectionMode#COLOR
 * @see ShaderSelectionMode#COLOR_LIGHT_PER_VERTEX
 * @see ShaderSelectionMode#COLOR_TEXTURE
 * @see ShaderSelectionMode#COLOR_TEXTURE_LIGHT_PER_VERTEX
 */
public enum ShaderSelectionMode {
    /** Auto shader selection, based upon FFP states. */
    AUTO,
    /** Fixed shader selection: Simple color. */
    COLOR,
    /** Fixed shader selection: Multi-Textured color. 2 texture units. */
    COLOR_TEXTURE2,
    /** Fixed shader selection: Multi-Textured color. 4 texture units. */
    COLOR_TEXTURE4,
    /** Fixed shader selection: Multi-Textured color. 8 texture units. */
    COLOR_TEXTURE8,
    /** Fixed shader selection: Color with vertex-lighting. */
    COLOR_LIGHT_PER_VERTEX,
    /** Fixed shader selection: Multi-Textured color with vertex-lighting. 8 texture units.*/
    COLOR_TEXTURE8_LIGHT_PER_VERTEX
}