Enum Class GlslShaderDef

java.lang.Object
java.lang.Enum<GlslShaderDef>
cz.fidentis.analyst.glsl.code.GlslShaderDef
All Implemented Interfaces:
Serializable, Comparable<GlslShaderDef>, Constable

public enum GlslShaderDef extends Enum<GlslShaderDef>
Definitions of defined GLSL shaders. Source codes (.glsl files) must be located in the "/shaders" subdirectory of resources.
  • Enum Constant Details

    • SHADING_VS

      public static final GlslShaderDef SHADING_VS
    • SHADING_FS

      public static final GlslShaderDef SHADING_FS
    • COLOR_MIXING_VS

      public static final GlslShaderDef COLOR_MIXING_VS
    • COLOR_MIXING_FS

      public static final GlslShaderDef COLOR_MIXING_FS
    • CONTOUR_FS

      public static final GlslShaderDef CONTOUR_FS
    • SHADOW_MAP_VS

      public static final GlslShaderDef SHADOW_MAP_VS
    • SHADOW_MAP_FS

      public static final GlslShaderDef SHADOW_MAP_FS
    • TRIANGLE_STATS_CS

      public static final GlslShaderDef TRIANGLE_STATS_CS
    • GRID_PARAMETERS_CS

      public static final GlslShaderDef GRID_PARAMETERS_CS
    • GRID_CELL_BOUNDS_CS

      public static final GlslShaderDef GRID_CELL_BOUNDS_CS
    • GRID_CELL_OVERLAP_COUNT_CS

      public static final GlslShaderDef GRID_CELL_OVERLAP_COUNT_CS
    • GRID_SORTED_TRIANGLES_CS

      public static final GlslShaderDef GRID_SORTED_TRIANGLES_CS
    • DISTANCE_RAY_CASTING_CS

      public static final GlslShaderDef DISTANCE_RAY_CASTING_CS
  • Method Details

    • values

      public static GlslShaderDef[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GlslShaderDef valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<GlslShaderDef>
    • getShaderType

      public int getShaderType()
    • getFile

      public String getFile()