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 Link icon

    • SHADING_VS Link icon

      public static final GlslShaderDef SHADING_VS
    • SHADING_FS Link icon

      public static final GlslShaderDef SHADING_FS
    • COLOR_MIXING_VS Link icon

      public static final GlslShaderDef COLOR_MIXING_VS
    • COLOR_MIXING_FS Link icon

      public static final GlslShaderDef COLOR_MIXING_FS
    • CONTOUR_FS Link icon

      public static final GlslShaderDef CONTOUR_FS
    • SHADOW_MAP_VS Link icon

      public static final GlslShaderDef SHADOW_MAP_VS
    • SHADOW_MAP_FS Link icon

      public static final GlslShaderDef SHADOW_MAP_FS
    • TRIANGLE_STATS_CS Link icon

      public static final GlslShaderDef TRIANGLE_STATS_CS
    • GRID_PARAMETERS_CS Link icon

      public static final GlslShaderDef GRID_PARAMETERS_CS
    • GRID_CELL_BOUNDS_CS Link icon

      public static final GlslShaderDef GRID_CELL_BOUNDS_CS
    • GRID_CELL_OVERLAP_COUNT_CS Link icon

      public static final GlslShaderDef GRID_CELL_OVERLAP_COUNT_CS
    • GRID_SORTED_TRIANGLES_CS Link icon

      public static final GlslShaderDef GRID_SORTED_TRIANGLES_CS
    • DISTANCE_RAY_CASTING_CS Link icon

      public static final GlslShaderDef DISTANCE_RAY_CASTING_CS
  • Method Details Link icon

    • values Link icon

      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 Link icon

      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 Link icon

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

      public int getShaderType()
    • getFile Link icon

      public String getFile()