Package cz.fidentis.analyst.glsl.buffers
Enum Class BufferDef
- All Implemented Interfaces:
Serializable
,Comparable<BufferDef>
,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCounter that tracks the number of items stored in the fragment list to avoid concurrent writing.Frame-buffer, which stores the distance of objects from the light source.Texture object, which has data attached to it from theVIS_DIFF_DEPTH_FRAME_BUFFER
.Linked lists of fragments.Texture object, which has data attached to it from theVIS_DIFF_FRAGMENT_LIST_SSBO_BUFFER
.Locations of glyphs with computed curvaturesBuffer with initial values theVIS_DIFF_HEAD_POINTER_TEXTURE_BUFFER
resets to at the beginning of each rendering pass.Texture of pointers pointing to the first item of a list in theVIS_DIFF_FRAGMENT_LIST_TEXTURE_BUFFER
. -
Method Summary
-
Enum Constant Details
-
RC_DIST_RAYS
-
RC_DIST_VERTICES
-
RC_DIST_TRIANGLES
-
RC_DIST_SORTED_TRIANGLES
-
RC_DIST_CELL_BOUNDS
-
RC_DIST_GRID_INFO
-
RC_DIST_DISTANCES
-
RC_DIST_CELL_ELEMENTS
-
RC_DIST_TRIANGLES_REDUCTION
-
VIS_DIFF_DEPTH_TEXTURE_BUFFER
Texture object, which has data attached to it from theVIS_DIFF_DEPTH_FRAME_BUFFER
. -
VIS_DIFF_DEPTH_FRAME_BUFFER
Frame-buffer, which stores the distance of objects from the light source. -
VIS_DIFF_HEAD_POINTER_TEXTURE_BUFFER
Texture of pointers pointing to the first item of a list in theVIS_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
Texture object, which has data attached to it from theVIS_DIFF_FRAGMENT_LIST_SSBO_BUFFER
. -
VIS_DIFF_GLYPH_LOCATIONS_SSBO_BUFFER
Locations of glyphs with computed curvatures -
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
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
Buffer with initial values theVIS_DIFF_HEAD_POINTER_TEXTURE_BUFFER
resets to at the beginning of each rendering pass.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getBindingIndex
public int getBindingIndex()
-