org.lwjgl.opengl.ARBPipelineStatisticsQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.lwjgl.opengl Show documentation
Show all versions of org.lwjgl.opengl Show documentation
LWJGL OSGi bundle (OpenGL bindings)
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengl;
/**
* Native bindings to the ARB_pipeline_statistics_query extension.
*
* This extension introduces new query types that allow applications to get statistics information about different parts of the pipeline:
*
*
* - Number of vertices and primitives issued to the GL.
* - Number of times a vertex shader, tessellation evaluation shader, geometry shader, fragment shader, and compute shader was invoked.
* - Number of patches processed by the tessellation control shader stage.
* - Number of primitives emitted by a geometry shader.
* - Number of primitives that entered the primitive clipping stage.
* - Number of primitives that are output by the primitive clipping stage.
*
*
* Requires {@link GL30 OpenGL 3.0}.
*/
public final class ARBPipelineStatisticsQuery {
/**
* Accepted by the {@code target} parameter of {@link GL15#glBeginQuery BeginQuery}, {@link GL15#glEndQuery EndQuery}, {@link GL15#glGetQueryiv GetQueryiv},
* {@link GL40#glBeginQueryIndexed BeginQueryIndexed}, {@link GL40#glEndQueryIndexed EndQueryIndexed} and {@link GL40#glGetQueryIndexediv GetQueryIndexediv}.
*/
public static final int
GL_VERTICES_SUBMITTED_ARB = 0x82EE,
GL_PRIMITIVES_SUBMITTED_ARB = 0x82EF,
GL_VERTEX_SHADER_INVOCATIONS_ARB = 0x82F0,
GL_TESS_CONTROL_SHADER_PATCHES_ARB = 0x82F1,
GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB = 0x82F2,
GL_GEOMETRY_SHADER_INVOCATIONS = 0x887F,
GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB = 0x82F3,
GL_FRAGMENT_SHADER_INVOCATIONS_ARB = 0x82F4,
GL_COMPUTE_SHADER_INVOCATIONS_ARB = 0x82F5,
GL_CLIPPING_INPUT_PRIMITIVES_ARB = 0x82F6,
GL_CLIPPING_OUTPUT_PRIMITIVES_ARB = 0x82F7;
private ARBPipelineStatisticsQuery() {}
}