Enum Class BufferDef

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

public enum BufferDef extends Enum<BufferDef>
Every buffer must have defined an uniques name here. Moreover, buffers must have defined a binding index, which is used in the corresponding GLGL programs/shaders. Use -1 as binding index for buffers that do not use it.
  • Enum Constant Details

    • RC_DIST_RAYS

      public static final BufferDef RC_DIST_RAYS
    • RC_DIST_VERTICES

      public static final BufferDef RC_DIST_VERTICES
    • RC_DIST_TRIANGLES

      public static final BufferDef RC_DIST_TRIANGLES
    • RC_DIST_SORTED_TRIANGLES

      public static final BufferDef RC_DIST_SORTED_TRIANGLES
    • RC_DIST_CELL_BOUNDS

      public static final BufferDef RC_DIST_CELL_BOUNDS
    • RC_DIST_GRID_INFO

      public static final BufferDef RC_DIST_GRID_INFO
    • RC_DIST_DISTANCES

      public static final BufferDef RC_DIST_DISTANCES
    • RC_DIST_CELL_ELEMENTS

      public static final BufferDef RC_DIST_CELL_ELEMENTS
    • RC_DIST_TRIANGLES_REDUCTION

      public static final BufferDef RC_DIST_TRIANGLES_REDUCTION
    • VIS_DIFF_DEPTH_TEXTURE_BUFFER

      public static final BufferDef VIS_DIFF_DEPTH_TEXTURE_BUFFER
      Texture object, which has data attached to it from the VIS_DIFF_DEPTH_FRAME_BUFFER.
    • VIS_DIFF_DEPTH_FRAME_BUFFER

      public static final BufferDef VIS_DIFF_DEPTH_FRAME_BUFFER
      Frame-buffer, which stores the distance of objects from the light source.
    • VIS_DIFF_HEAD_POINTER_TEXTURE_BUFFER

      public static final BufferDef VIS_DIFF_HEAD_POINTER_TEXTURE_BUFFER
      Texture of pointers pointing to the first item of a list in the VIS_DIFF_FRAGMENT_LIST_TEXTURE_BUFFER. It is filled in the ShadingFS shader and used in the ColorMixing and Contours shaders.
    • VIS_DIFF_FRAGMENT_LIST_TEXTURE_BUFFER

      public static final BufferDef VIS_DIFF_FRAGMENT_LIST_TEXTURE_BUFFER
      Texture object, which has data attached to it from the VIS_DIFF_FRAGMENT_LIST_SSBO_BUFFER.
    • VIS_DIFF_GLYPH_LOCATIONS_SSBO_BUFFER

      public static final BufferDef VIS_DIFF_GLYPH_LOCATIONS_SSBO_BUFFER
      Locations of glyphs with computed curvatures
    • VIS_DIFF_FRAGMENT_LIST_SSBO_BUFFER

      public static final BufferDef VIS_DIFF_FRAGMENT_LIST_SSBO_BUFFER
      Linked lists of fragments. Each list consists of fragments with the same screen space position. It is filled with data(shaded fragment + extra information about the fragment) in the ShadingFS shader and used in the ColorMixing and Contours shaders.
    • VIS_DIFF_ATOMIC_COUNTER_SSBO_BUFFER

      public static final BufferDef VIS_DIFF_ATOMIC_COUNTER_SSBO_BUFFER
      Counter that tracks the number of items stored in the fragment list to avoid concurrent writing. It is incremented every time a fragment is processed in the ShadingFS shader.
    • VIS_DIFF_HEAD_POINTER_INIT_PU_BUFFER

      public static final BufferDef VIS_DIFF_HEAD_POINTER_INIT_PU_BUFFER
      Buffer with initial values the VIS_DIFF_HEAD_POINTER_TEXTURE_BUFFER resets to at the beginning of each rendering pass.
  • Method Details

    • values

      public static BufferDef[] 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 BufferDef 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
    • getBindingIndex

      public int getBindingIndex()