Enum Class RenderProfilerCounter
- All Implemented Interfaces:
Serializable
,Comparable<RenderProfilerCounter>
,Constable
The types of statistics that can be captured by the profiler.
- Since:
- 2.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RenderProfilerCounter[]
All statistic types.static final RenderProfilerCounter[]
All normal statistic types for rendering. -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
static RenderProfilerCounter
Returns the enum constant of this class with the specified name.static RenderProfilerCounter[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VERTICES_SUBMITTED
-
PRIMITIVES_SUBMITTED
-
VERTEX_SHADER_INVOCATIONS
-
TESS_CONTROL_SHADER_PATCHES
-
TESS_EVALUATION_SHADER_INVOCATIONS
-
GEOMETRY_SHADER_INVOCATIONS
-
GEOMETRY_SHADER_PRIMITIVES_EMITTED
-
FRAGMENT_SHADER_INVOCATIONS
-
COMPUTE_SHADER_INVOCATIONS
-
CLIPPING_INPUT_PRIMITIVES
-
CLIPPING_OUTPUT_PRIMITIVES
-
-
Field Details
-
ALL
All statistic types. -
STANDARD_GEOMETRY
All normal statistic types for rendering.
-
-
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
-
getId
public int getId()- Returns:
- The OpenGL id of this statistic
-