All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opengl.GL32 Maven / Gradle / Ivy

Go to download

The most widely adopted 2D and 3D graphics API in the industry, bringing thousands of applications to a wide variety of computer platforms.

There is a newer version: 3.3.4
Show newest version
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.opengl;

import javax.annotation.*;

import java.nio.*;

import org.lwjgl.*;

import org.lwjgl.system.*;

/**
 * The OpenGL functionality up to version 3.2. Includes the deprecated symbols of the Compatibility Profile.
 * 
 * 

OpenGL 3.2 implementations support revision 1.50 of the OpenGL Shading Language.

* *

Extensions promoted to core in this release:

* * */ public class GL32 extends GL31 { static { GL.initialize(); } /** Accepted by the {@code pname} parameter of GetIntegerv. */ public static final int GL_CONTEXT_PROFILE_MASK = 0x9126; /** Context profile bits. */ public static final int GL_CONTEXT_CORE_PROFILE_BIT = 0x1, GL_CONTEXT_COMPATIBILITY_PROFILE_BIT = 0x2; /** Accepted by the {@code pname} parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. */ public static final int GL_MAX_VERTEX_OUTPUT_COMPONENTS = 0x9122, GL_MAX_GEOMETRY_INPUT_COMPONENTS = 0x9123, GL_MAX_GEOMETRY_OUTPUT_COMPONENTS = 0x9124, GL_MAX_FRAGMENT_INPUT_COMPONENTS = 0x9125; /** Accepted by the {@code mode} parameter of ProvokingVertex. */ public static final int GL_FIRST_VERTEX_CONVENTION = 0x8E4D, GL_LAST_VERTEX_CONVENTION = 0x8E4E; /** Accepted by the {@code pname} parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. */ public static final int GL_PROVOKING_VERTEX = 0x8E4F, GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION = 0x8E4C; /** * Accepted by the {@code cap} parameter of Enable, Disable and IsEnabled, and by the {@code pname} parameter of GetBooleanv, GetIntegerv, GetFloatv and * GetDoublev. */ public static final int GL_TEXTURE_CUBE_MAP_SEAMLESS = 0x884F; /** Accepted by the {@code pname} parameter of GetMultisamplefv. */ public static final int GL_SAMPLE_POSITION = 0x8E50; /** * Accepted by the {@code cap} parameter of Enable, Disable, and IsEnabled, and by the {@code pname} parameter of GetBooleanv, GetIntegerv, GetFloatv, and * GetDoublev. */ public static final int GL_SAMPLE_MASK = 0x8E51; /** Accepted by the {@code target} parameter of GetBooleani_v and GetIntegeri_v. */ public static final int GL_SAMPLE_MASK_VALUE = 0x8E52; /** Accepted by the {@code target} parameter of BindTexture and TexImage2DMultisample. */ public static final int GL_TEXTURE_2D_MULTISAMPLE = 0x9100; /** Accepted by the {@code target} parameter of TexImage2DMultisample. */ public static final int GL_PROXY_TEXTURE_2D_MULTISAMPLE = 0x9101; /** Accepted by the {@code target} parameter of BindTexture and TexImage3DMultisample. */ public static final int GL_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9102; /** Accepted by the {@code target} parameter of TexImage3DMultisample. */ public static final int GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9103; /** Accepted by the {@code pname} parameter of GetBooleanv, GetDoublev, GetIntegerv, and GetFloatv. */ public static final int GL_MAX_SAMPLE_MASK_WORDS = 0x8E59, GL_MAX_COLOR_TEXTURE_SAMPLES = 0x910E, GL_MAX_DEPTH_TEXTURE_SAMPLES = 0x910F, GL_MAX_INTEGER_SAMPLES = 0x9110, GL_TEXTURE_BINDING_2D_MULTISAMPLE = 0x9104, GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY = 0x9105; /** Accepted by the {@code pname} parameter of GetTexLevelParameter. */ public static final int GL_TEXTURE_SAMPLES = 0x9106, GL_TEXTURE_FIXED_SAMPLE_LOCATIONS = 0x9107; /** Returned by the {@code type} parameter of GetActiveUniform. */ public static final int GL_SAMPLER_2D_MULTISAMPLE = 0x9108, GL_INT_SAMPLER_2D_MULTISAMPLE = 0x9109, GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE = 0x910A, GL_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910B, GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910C, GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910D; /** * Accepted by the {@code cap} parameter of Enable, Disable, and IsEnabled, and by the {@code pname} parameter of GetBooleanv, GetIntegerv, GetFloatv, and * GetDoublev. */ public static final int GL_DEPTH_CLAMP = 0x864F; /** Accepted by the {@code type} parameter of CreateShader and returned by the {@code params} parameter of GetShaderiv. */ public static final int GL_GEOMETRY_SHADER = 0x8DD9; /** Accepted by the {@code pname} parameter of ProgramParameteri and GetProgramiv. */ public static final int GL_GEOMETRY_VERTICES_OUT = 0x8DDA, GL_GEOMETRY_INPUT_TYPE = 0x8DDB, GL_GEOMETRY_OUTPUT_TYPE = 0x8DDC; /** Accepted by the {@code pname} parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. */ public static final int GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS = 0x8C29, GL_MAX_GEOMETRY_UNIFORM_COMPONENTS = 0x8DDF, GL_MAX_GEOMETRY_OUTPUT_VERTICES = 0x8DE0, GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS = 0x8DE1; /** Accepted by the {@code mode} parameter of Begin, DrawArrays, MultiDrawArrays, DrawElements, MultiDrawElements, and DrawRangeElements. */ public static final int GL_LINES_ADJACENCY = 0xA, GL_LINE_STRIP_ADJACENCY = 0xB, GL_TRIANGLES_ADJACENCY = 0xC, GL_TRIANGLE_STRIP_ADJACENCY = 0xD; /** Returned by CheckFramebufferStatus. */ public static final int GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS = 0x8DA8; /** Accepted by the {@code pname} parameter of GetFramebufferAttachment- Parameteriv. */ public static final int GL_FRAMEBUFFER_ATTACHMENT_LAYERED = 0x8DA7; /** * Accepted by the {@code cap} parameter of Enable, Disable, and IsEnabled, and by the {@code pname} parameter of GetIntegerv, GetFloatv, GetDoublev, and * GetBooleanv. */ public static final int GL_PROGRAM_POINT_SIZE = 0x8642; /** Accepted as the {@code pname} parameter of GetInteger64v. */ public static final int GL_MAX_SERVER_WAIT_TIMEOUT = 0x9111; /** Accepted as the {@code pname} parameter of GetSynciv. */ public static final int GL_OBJECT_TYPE = 0x9112, GL_SYNC_CONDITION = 0x9113, GL_SYNC_STATUS = 0x9114, GL_SYNC_FLAGS = 0x9115; /** Returned in {@code values} for GetSynciv {@code pname} OBJECT_TYPE. */ public static final int GL_SYNC_FENCE = 0x9116; /** Returned in {@code values} for GetSynciv {@code pname} SYNC_CONDITION. */ public static final int GL_SYNC_GPU_COMMANDS_COMPLETE = 0x9117; /** Returned in {@code values} for GetSynciv {@code pname} SYNC_STATUS. */ public static final int GL_UNSIGNALED = 0x9118, GL_SIGNALED = 0x9119; /** Accepted in the {@code flags} parameter of ClientWaitSync. */ public static final int GL_SYNC_FLUSH_COMMANDS_BIT = 0x1; /** Accepted in the {@code timeout} parameter of WaitSync. */ public static final long GL_TIMEOUT_IGNORED = 0xFFFFFFFFFFFFFFFFL; /** Returned by ClientWaitSync. */ public static final int GL_ALREADY_SIGNALED = 0x911A, GL_TIMEOUT_EXPIRED = 0x911B, GL_CONDITION_SATISFIED = 0x911C, GL_WAIT_FAILED = 0x911D; protected GL32() { throw new UnsupportedOperationException(); } // --- [ glGetBufferParameteri64v ] --- /** Unsafe version of: {@link #glGetBufferParameteri64v GetBufferParameteri64v} */ public static void nglGetBufferParameteri64v(int target, int pname, long params) { GL32C.nglGetBufferParameteri64v(target, pname, params); } /** * Returns the value of a buffer object parameter. * * @param target the target buffer object. One of:
{@link GL15#GL_ARRAY_BUFFER ARRAY_BUFFER}{@link GL15#GL_ELEMENT_ARRAY_BUFFER ELEMENT_ARRAY_BUFFER}{@link GL21#GL_PIXEL_PACK_BUFFER PIXEL_PACK_BUFFER}{@link GL21#GL_PIXEL_UNPACK_BUFFER PIXEL_UNPACK_BUFFER}
{@link GL30#GL_TRANSFORM_FEEDBACK_BUFFER TRANSFORM_FEEDBACK_BUFFER}{@link GL31#GL_UNIFORM_BUFFER UNIFORM_BUFFER}{@link GL31#GL_TEXTURE_BUFFER TEXTURE_BUFFER}{@link GL31#GL_COPY_READ_BUFFER COPY_READ_BUFFER}
{@link GL31#GL_COPY_WRITE_BUFFER COPY_WRITE_BUFFER}{@link GL40#GL_DRAW_INDIRECT_BUFFER DRAW_INDIRECT_BUFFER}{@link GL42#GL_ATOMIC_COUNTER_BUFFER ATOMIC_COUNTER_BUFFER}{@link GL43#GL_DISPATCH_INDIRECT_BUFFER DISPATCH_INDIRECT_BUFFER}
{@link GL43#GL_SHADER_STORAGE_BUFFER SHADER_STORAGE_BUFFER}{@link ARBIndirectParameters#GL_PARAMETER_BUFFER_ARB PARAMETER_BUFFER_ARB}
* @param pname the symbolic name of a buffer object parameter. One of:
{@link GL15#GL_BUFFER_SIZE BUFFER_SIZE}{@link GL15#GL_BUFFER_USAGE BUFFER_USAGE}{@link GL15#GL_BUFFER_ACCESS BUFFER_ACCESS}{@link GL15#GL_BUFFER_MAPPED BUFFER_MAPPED}
{@link GL30#GL_BUFFER_ACCESS_FLAGS BUFFER_ACCESS_FLAGS}{@link GL30#GL_BUFFER_MAP_LENGTH BUFFER_MAP_LENGTH}{@link GL30#GL_BUFFER_MAP_OFFSET BUFFER_MAP_OFFSET}{@link GL44#GL_BUFFER_IMMUTABLE_STORAGE BUFFER_IMMUTABLE_STORAGE}
{@link GL44#GL_BUFFER_STORAGE_FLAGS BUFFER_STORAGE_FLAGS}
* @param params the requested parameter * * @see Reference Page */ public static void glGetBufferParameteri64v(@NativeType("GLenum") int target, @NativeType("GLenum") int pname, @NativeType("GLint64 *") LongBuffer params) { GL32C.glGetBufferParameteri64v(target, pname, params); } /** * Returns the value of a buffer object parameter. * * @param target the target buffer object. One of:
{@link GL15#GL_ARRAY_BUFFER ARRAY_BUFFER}{@link GL15#GL_ELEMENT_ARRAY_BUFFER ELEMENT_ARRAY_BUFFER}{@link GL21#GL_PIXEL_PACK_BUFFER PIXEL_PACK_BUFFER}{@link GL21#GL_PIXEL_UNPACK_BUFFER PIXEL_UNPACK_BUFFER}
{@link GL30#GL_TRANSFORM_FEEDBACK_BUFFER TRANSFORM_FEEDBACK_BUFFER}{@link GL31#GL_UNIFORM_BUFFER UNIFORM_BUFFER}{@link GL31#GL_TEXTURE_BUFFER TEXTURE_BUFFER}{@link GL31#GL_COPY_READ_BUFFER COPY_READ_BUFFER}
{@link GL31#GL_COPY_WRITE_BUFFER COPY_WRITE_BUFFER}{@link GL40#GL_DRAW_INDIRECT_BUFFER DRAW_INDIRECT_BUFFER}{@link GL42#GL_ATOMIC_COUNTER_BUFFER ATOMIC_COUNTER_BUFFER}{@link GL43#GL_DISPATCH_INDIRECT_BUFFER DISPATCH_INDIRECT_BUFFER}
{@link GL43#GL_SHADER_STORAGE_BUFFER SHADER_STORAGE_BUFFER}{@link ARBIndirectParameters#GL_PARAMETER_BUFFER_ARB PARAMETER_BUFFER_ARB}
* @param pname the symbolic name of a buffer object parameter. One of:
{@link GL15#GL_BUFFER_SIZE BUFFER_SIZE}{@link GL15#GL_BUFFER_USAGE BUFFER_USAGE}{@link GL15#GL_BUFFER_ACCESS BUFFER_ACCESS}{@link GL15#GL_BUFFER_MAPPED BUFFER_MAPPED}
{@link GL30#GL_BUFFER_ACCESS_FLAGS BUFFER_ACCESS_FLAGS}{@link GL30#GL_BUFFER_MAP_LENGTH BUFFER_MAP_LENGTH}{@link GL30#GL_BUFFER_MAP_OFFSET BUFFER_MAP_OFFSET}{@link GL44#GL_BUFFER_IMMUTABLE_STORAGE BUFFER_IMMUTABLE_STORAGE}
{@link GL44#GL_BUFFER_STORAGE_FLAGS BUFFER_STORAGE_FLAGS}
* * @see Reference Page */ @NativeType("void") public static long glGetBufferParameteri64(@NativeType("GLenum") int target, @NativeType("GLenum") int pname) { return GL32C.glGetBufferParameteri64(target, pname); } // --- [ glDrawElementsBaseVertex ] --- /** * Unsafe version of: {@link #glDrawElementsBaseVertex DrawElementsBaseVertex} * * @param count the number of elements to be rendered * @param type the type of the values in {@code indices}. One of:
{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}
*/ public static void nglDrawElementsBaseVertex(int mode, int count, int type, long indices, int basevertex) { GL32C.nglDrawElementsBaseVertex(mode, count, type, indices, basevertex); } /** * Renders primitives from array data with a per-element offset. * * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param count the number of elements to be rendered * @param type the type of the values in {@code indices}. One of:
{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}
* @param indices a pointer to the location where the indices are stored * @param basevertex a constant that should be added to each element of {@code indices} when choosing elements from the enabled vertex arrays * * @see Reference Page */ public static void glDrawElementsBaseVertex(@NativeType("GLenum") int mode, @NativeType("GLsizei") int count, @NativeType("GLenum") int type, @NativeType("void const *") long indices, @NativeType("GLint") int basevertex) { GL32C.glDrawElementsBaseVertex(mode, count, type, indices, basevertex); } /** * Renders primitives from array data with a per-element offset. * * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param type the type of the values in {@code indices}. One of:
{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}
* @param indices a pointer to the location where the indices are stored * @param basevertex a constant that should be added to each element of {@code indices} when choosing elements from the enabled vertex arrays * * @see Reference Page */ public static void glDrawElementsBaseVertex(@NativeType("GLenum") int mode, @NativeType("GLenum") int type, @NativeType("void const *") ByteBuffer indices, @NativeType("GLint") int basevertex) { GL32C.glDrawElementsBaseVertex(mode, type, indices, basevertex); } /** * Renders primitives from array data with a per-element offset. * * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param indices a pointer to the location where the indices are stored * @param basevertex a constant that should be added to each element of {@code indices} when choosing elements from the enabled vertex arrays * * @see Reference Page */ public static void glDrawElementsBaseVertex(@NativeType("GLenum") int mode, @NativeType("void const *") ByteBuffer indices, @NativeType("GLint") int basevertex) { GL32C.glDrawElementsBaseVertex(mode, indices, basevertex); } /** * Renders primitives from array data with a per-element offset. * * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param indices a pointer to the location where the indices are stored * @param basevertex a constant that should be added to each element of {@code indices} when choosing elements from the enabled vertex arrays * * @see Reference Page */ public static void glDrawElementsBaseVertex(@NativeType("GLenum") int mode, @NativeType("void const *") ShortBuffer indices, @NativeType("GLint") int basevertex) { GL32C.glDrawElementsBaseVertex(mode, indices, basevertex); } /** * Renders primitives from array data with a per-element offset. * * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param indices a pointer to the location where the indices are stored * @param basevertex a constant that should be added to each element of {@code indices} when choosing elements from the enabled vertex arrays * * @see Reference Page */ public static void glDrawElementsBaseVertex(@NativeType("GLenum") int mode, @NativeType("void const *") IntBuffer indices, @NativeType("GLint") int basevertex) { GL32C.glDrawElementsBaseVertex(mode, indices, basevertex); } // --- [ glDrawRangeElementsBaseVertex ] --- /** * Unsafe version of: {@link #glDrawRangeElementsBaseVertex DrawRangeElementsBaseVertex} * * @param count the number of elements to be rendered * @param type the type of the values in {@code indices}. One of:
{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}
*/ public static void nglDrawRangeElementsBaseVertex(int mode, int start, int end, int count, int type, long indices, int basevertex) { GL32C.nglDrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex); } /** * Renders primitives from array data with a per-element offset. * * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param start the minimum array index contained in {@code indices} * @param end the maximum array index contained in {@code indices} * @param count the number of elements to be rendered * @param type the type of the values in {@code indices}. One of:
{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}
* @param indices a pointer to the location where the indices are stored * @param basevertex a constant that should be added to each element of {@code indices} when choosing elements from the enabled vertex arrays * * @see Reference Page */ public static void glDrawRangeElementsBaseVertex(@NativeType("GLenum") int mode, @NativeType("GLuint") int start, @NativeType("GLuint") int end, @NativeType("GLsizei") int count, @NativeType("GLenum") int type, @NativeType("void const *") long indices, @NativeType("GLint") int basevertex) { GL32C.glDrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex); } /** * Renders primitives from array data with a per-element offset. * * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param start the minimum array index contained in {@code indices} * @param end the maximum array index contained in {@code indices} * @param type the type of the values in {@code indices}. One of:
{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}
* @param indices a pointer to the location where the indices are stored * @param basevertex a constant that should be added to each element of {@code indices} when choosing elements from the enabled vertex arrays * * @see Reference Page */ public static void glDrawRangeElementsBaseVertex(@NativeType("GLenum") int mode, @NativeType("GLuint") int start, @NativeType("GLuint") int end, @NativeType("GLenum") int type, @NativeType("void const *") ByteBuffer indices, @NativeType("GLint") int basevertex) { GL32C.glDrawRangeElementsBaseVertex(mode, start, end, type, indices, basevertex); } /** * Renders primitives from array data with a per-element offset. * * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param start the minimum array index contained in {@code indices} * @param end the maximum array index contained in {@code indices} * @param indices a pointer to the location where the indices are stored * @param basevertex a constant that should be added to each element of {@code indices} when choosing elements from the enabled vertex arrays * * @see Reference Page */ public static void glDrawRangeElementsBaseVertex(@NativeType("GLenum") int mode, @NativeType("GLuint") int start, @NativeType("GLuint") int end, @NativeType("void const *") ByteBuffer indices, @NativeType("GLint") int basevertex) { GL32C.glDrawRangeElementsBaseVertex(mode, start, end, indices, basevertex); } /** * Renders primitives from array data with a per-element offset. * * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param start the minimum array index contained in {@code indices} * @param end the maximum array index contained in {@code indices} * @param indices a pointer to the location where the indices are stored * @param basevertex a constant that should be added to each element of {@code indices} when choosing elements from the enabled vertex arrays * * @see Reference Page */ public static void glDrawRangeElementsBaseVertex(@NativeType("GLenum") int mode, @NativeType("GLuint") int start, @NativeType("GLuint") int end, @NativeType("void const *") ShortBuffer indices, @NativeType("GLint") int basevertex) { GL32C.glDrawRangeElementsBaseVertex(mode, start, end, indices, basevertex); } /** * Renders primitives from array data with a per-element offset. * * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param start the minimum array index contained in {@code indices} * @param end the maximum array index contained in {@code indices} * @param indices a pointer to the location where the indices are stored * @param basevertex a constant that should be added to each element of {@code indices} when choosing elements from the enabled vertex arrays * * @see Reference Page */ public static void glDrawRangeElementsBaseVertex(@NativeType("GLenum") int mode, @NativeType("GLuint") int start, @NativeType("GLuint") int end, @NativeType("void const *") IntBuffer indices, @NativeType("GLint") int basevertex) { GL32C.glDrawRangeElementsBaseVertex(mode, start, end, indices, basevertex); } // --- [ glDrawElementsInstancedBaseVertex ] --- /** * Unsafe version of: {@link #glDrawElementsInstancedBaseVertex DrawElementsInstancedBaseVertex} * * @param count the number of elements to be rendered * @param type the type of the values in {@code indices}. One of:
{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}
*/ public static void nglDrawElementsInstancedBaseVertex(int mode, int count, int type, long indices, int primcount, int basevertex) { GL32C.nglDrawElementsInstancedBaseVertex(mode, count, type, indices, primcount, basevertex); } /** * Renders multiple instances of a set of primitives from array data with a per-element offset. * * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param count the number of elements to be rendered * @param type the type of the values in {@code indices}. One of:
{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}
* @param indices a pointer to the location where the indices are stored * @param primcount the number of instances of the indexed geometry that should be drawn * @param basevertex a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays * * @see Reference Page */ public static void glDrawElementsInstancedBaseVertex(@NativeType("GLenum") int mode, @NativeType("GLsizei") int count, @NativeType("GLenum") int type, @NativeType("void const *") long indices, @NativeType("GLsizei") int primcount, @NativeType("GLint") int basevertex) { GL32C.glDrawElementsInstancedBaseVertex(mode, count, type, indices, primcount, basevertex); } /** * Renders multiple instances of a set of primitives from array data with a per-element offset. * * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param type the type of the values in {@code indices}. One of:
{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}
* @param indices a pointer to the location where the indices are stored * @param primcount the number of instances of the indexed geometry that should be drawn * @param basevertex a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays * * @see Reference Page */ public static void glDrawElementsInstancedBaseVertex(@NativeType("GLenum") int mode, @NativeType("GLenum") int type, @NativeType("void const *") ByteBuffer indices, @NativeType("GLsizei") int primcount, @NativeType("GLint") int basevertex) { GL32C.glDrawElementsInstancedBaseVertex(mode, type, indices, primcount, basevertex); } /** * Renders multiple instances of a set of primitives from array data with a per-element offset. * * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param indices a pointer to the location where the indices are stored * @param primcount the number of instances of the indexed geometry that should be drawn * @param basevertex a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays * * @see Reference Page */ public static void glDrawElementsInstancedBaseVertex(@NativeType("GLenum") int mode, @NativeType("void const *") ByteBuffer indices, @NativeType("GLsizei") int primcount, @NativeType("GLint") int basevertex) { GL32C.glDrawElementsInstancedBaseVertex(mode, indices, primcount, basevertex); } /** * Renders multiple instances of a set of primitives from array data with a per-element offset. * * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param indices a pointer to the location where the indices are stored * @param primcount the number of instances of the indexed geometry that should be drawn * @param basevertex a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays * * @see Reference Page */ public static void glDrawElementsInstancedBaseVertex(@NativeType("GLenum") int mode, @NativeType("void const *") ShortBuffer indices, @NativeType("GLsizei") int primcount, @NativeType("GLint") int basevertex) { GL32C.glDrawElementsInstancedBaseVertex(mode, indices, primcount, basevertex); } /** * Renders multiple instances of a set of primitives from array data with a per-element offset. * * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param indices a pointer to the location where the indices are stored * @param primcount the number of instances of the indexed geometry that should be drawn * @param basevertex a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays * * @see Reference Page */ public static void glDrawElementsInstancedBaseVertex(@NativeType("GLenum") int mode, @NativeType("void const *") IntBuffer indices, @NativeType("GLsizei") int primcount, @NativeType("GLint") int basevertex) { GL32C.glDrawElementsInstancedBaseVertex(mode, indices, primcount, basevertex); } // --- [ glMultiDrawElementsBaseVertex ] --- /** * Unsafe version of: {@link #glMultiDrawElementsBaseVertex MultiDrawElementsBaseVertex} * * @param drawcount the size of the {@code count} array */ public static void nglMultiDrawElementsBaseVertex(int mode, long count, int type, long indices, int drawcount, long basevertex) { GL32C.nglMultiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex); } /** * Renders multiple sets of primitives by specifying indices of array data elements and an offset to apply to each index. * *

LWJGL note: Use {@link org.lwjgl.system.MemoryUtil#memAddress} to retrieve pointers to the index buffers.

* * @param mode the kind of primitives to render. One of:
{@link GL11#GL_POINTS POINTS}{@link GL11#GL_LINE_STRIP LINE_STRIP}{@link GL11#GL_LINE_LOOP LINE_LOOP}{@link GL11#GL_LINES LINES}{@link GL11#GL_TRIANGLE_STRIP TRIANGLE_STRIP}{@link GL11#GL_TRIANGLE_FAN TRIANGLE_FAN}{@link GL11#GL_TRIANGLES TRIANGLES}
{@link GL32C#GL_LINES_ADJACENCY LINES_ADJACENCY}{@link GL32C#GL_LINE_STRIP_ADJACENCY LINE_STRIP_ADJACENCY}{@link GL32C#GL_TRIANGLES_ADJACENCY TRIANGLES_ADJACENCY}{@link GL32C#GL_TRIANGLE_STRIP_ADJACENCY TRIANGLE_STRIP_ADJACENCY}{@link GL40#GL_PATCHES PATCHES}{@link GL11#GL_POLYGON POLYGON}{@link GL11#GL_QUADS QUADS}
{@link GL11#GL_QUAD_STRIP QUAD_STRIP}
* @param count an array of the elements counts * @param type the type of the values in {@code indices}. One of:
{@link GL11#GL_UNSIGNED_BYTE UNSIGNED_BYTE}{@link GL11#GL_UNSIGNED_SHORT UNSIGNED_SHORT}{@link GL11#GL_UNSIGNED_INT UNSIGNED_INT}
* @param indices a pointer to the location where the indices are stored * @param basevertex a pointer to the location where the base vertices are stored * * @see Reference Page */ public static void glMultiDrawElementsBaseVertex(@NativeType("GLenum") int mode, @NativeType("GLsizei const *") IntBuffer count, @NativeType("GLenum") int type, @NativeType("void const **") PointerBuffer indices, @NativeType("GLint *") IntBuffer basevertex) { GL32C.glMultiDrawElementsBaseVertex(mode, count, type, indices, basevertex); } // --- [ glProvokingVertex ] --- /** * Specifies the vertex to be used as the source of data for flat shaded varyings. * * @param mode the provoking vertex mode. One of:
{@link GL32C#GL_FIRST_VERTEX_CONVENTION FIRST_VERTEX_CONVENTION}{@link GL32C#GL_LAST_VERTEX_CONVENTION LAST_VERTEX_CONVENTION}
* * @see Reference Page */ public static void glProvokingVertex(@NativeType("GLenum") int mode) { GL32C.glProvokingVertex(mode); } // --- [ glTexImage2DMultisample ] --- /** * Establishes the data storage, format, dimensions, and number of samples of a 2D multisample texture's image. * * @param target the target of the operation. One of:
{@link GL32C#GL_TEXTURE_2D_MULTISAMPLE TEXTURE_2D_MULTISAMPLE}{@link GL32C#GL_PROXY_TEXTURE_2D_MULTISAMPLE PROXY_TEXTURE_2D_MULTISAMPLE}
* @param samples the number of samples in the multisample texture's image * @param internalformat the internal format to be used to store the multisample texture's image. {@code internalformat} must specify a color-renderable, depth-renderable, * or stencil-renderable format. * @param width the width of the multisample texture's image, in texels * @param height the height of the multisample texture's image, in texels * @param fixedsamplelocations whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not * depend on the internal format or size of the image * * @see Reference Page */ public static void glTexImage2DMultisample(@NativeType("GLenum") int target, @NativeType("GLsizei") int samples, @NativeType("GLint") int internalformat, @NativeType("GLsizei") int width, @NativeType("GLsizei") int height, @NativeType("GLboolean") boolean fixedsamplelocations) { GL32C.glTexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations); } // --- [ glTexImage3DMultisample ] --- /** * Establishes the data storage, format, dimensions, and number of samples of a 3D multisample texture's image. * * @param target the target of the operation. One of:
{@link GL32C#GL_TEXTURE_2D_MULTISAMPLE_ARRAY TEXTURE_2D_MULTISAMPLE_ARRAY}{@link GL32C#GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY}
* @param samples the number of samples in the multisample texture's image * @param internalformat the internal format to be used to store the multisample texture's image. {@code internalformat} must specify a color-renderable, depth-renderable, * or stencil-renderable format. * @param width the width of the multisample texture's image, in texels * @param height the height of the multisample texture's image, in texels * @param depth the depth of the multisample texture's image, in texels * @param fixedsamplelocations whether the image will use identical sample locations and the same number of samples for all texels in the image, and the sample locations will not * depend on the internal format or size of the image * * @see Reference Page */ public static void glTexImage3DMultisample(@NativeType("GLenum") int target, @NativeType("GLsizei") int samples, @NativeType("GLint") int internalformat, @NativeType("GLsizei") int width, @NativeType("GLsizei") int height, @NativeType("GLsizei") int depth, @NativeType("GLboolean") boolean fixedsamplelocations) { GL32C.glTexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations); } // --- [ glGetMultisamplefv ] --- /** Unsafe version of: {@link #glGetMultisamplefv GetMultisamplefv} */ public static void nglGetMultisamplefv(int pname, int index, long val) { GL32C.nglGetMultisamplefv(pname, index, val); } /** * Retrieves the location of a sample. * * @param pname the sample parameter name. Must be:
{@link GL32C#GL_SAMPLE_POSITION SAMPLE_POSITION}
* @param index the index of the sample whose position to query * @param val an array to receive the position of the sample * * @see Reference Page */ public static void glGetMultisamplefv(@NativeType("GLenum") int pname, @NativeType("GLuint") int index, @NativeType("GLfloat *") FloatBuffer val) { GL32C.glGetMultisamplefv(pname, index, val); } /** * Retrieves the location of a sample. * * @param pname the sample parameter name. Must be:
{@link GL32C#GL_SAMPLE_POSITION SAMPLE_POSITION}
* @param index the index of the sample whose position to query * * @see Reference Page */ @NativeType("void") public static float glGetMultisamplef(@NativeType("GLenum") int pname, @NativeType("GLuint") int index) { return GL32C.glGetMultisamplef(pname, index); } // --- [ glSampleMaski ] --- /** * Sets the value of a sub-word of the sample mask. * * @param index which 32-bit sub-word of the sample mask to update * @param mask the new value of the mask sub-word * * @see Reference Page */ public static void glSampleMaski(@NativeType("GLuint") int index, @NativeType("GLbitfield") int mask) { GL32C.glSampleMaski(index, mask); } // --- [ glFramebufferTexture ] --- /** * Attaches a level of a texture object as a logical buffer to the currently bound framebuffer object. * * @param target the framebuffer target. One of:
{@link GL30#GL_FRAMEBUFFER FRAMEBUFFER}{@link GL30#GL_READ_FRAMEBUFFER READ_FRAMEBUFFER}{@link GL30#GL_DRAW_FRAMEBUFFER DRAW_FRAMEBUFFER}
* @param attachment the attachment point of the framebuffer * @param texture the texture object to attach to the framebuffer attachment point named by {@code attachment} * @param level the mipmap level of {@code texture} to attach * * @see Reference Page */ public static void glFramebufferTexture(@NativeType("GLenum") int target, @NativeType("GLenum") int attachment, @NativeType("GLuint") int texture, @NativeType("GLint") int level) { GL32C.glFramebufferTexture(target, attachment, texture, level); } // --- [ glFenceSync ] --- /** * Creates a new sync object and inserts it into the GL command stream. * * @param condition the condition that must be met to set the sync object's state to signaled. Must be:
{@link GL32C#GL_SYNC_GPU_COMMANDS_COMPLETE SYNC_GPU_COMMANDS_COMPLETE}
* @param flags a bitwise combination of flags controlling the behavior of the sync object. No flags are presently defined for this operation and {@code flags} must * be zero. * * @see Reference Page */ @NativeType("GLsync") public static long glFenceSync(@NativeType("GLenum") int condition, @NativeType("GLbitfield") int flags) { return GL32C.glFenceSync(condition, flags); } // --- [ glIsSync ] --- /** Unsafe version of: {@link #glIsSync IsSync} */ public static boolean nglIsSync(long sync) { return GL32C.nglIsSync(sync); } /** * Determines if a name corresponds to a sync object. * * @param sync a value that may be the name of a sync object * * @see Reference Page */ @NativeType("GLboolean") public static boolean glIsSync(@NativeType("GLsync") long sync) { return GL32C.glIsSync(sync); } // --- [ glDeleteSync ] --- /** Unsafe version of: {@link #glDeleteSync DeleteSync} */ public static void nglDeleteSync(long sync) { GL32C.nglDeleteSync(sync); } /** * Deletes a sync object. * * @param sync the sync object to be deleted * * @see Reference Page */ public static void glDeleteSync(@NativeType("GLsync") long sync) { GL32C.glDeleteSync(sync); } // --- [ glClientWaitSync ] --- /** Unsafe version of: {@link #glClientWaitSync ClientWaitSync} */ public static int nglClientWaitSync(long sync, int flags, long timeout) { return GL32C.nglClientWaitSync(sync, flags, timeout); } /** * Causes the client to block and wait for a sync object to become signaled. If {@code sync} is signaled when {@code glClientWaitSync} is called, * {@code glClientWaitSync} returns immediately, otherwise it will block and wait for up to timeout nanoseconds for {@code sync} to become signaled. * *

The return value is one of four status values:

* *
    *
  • {@link GL32C#GL_ALREADY_SIGNALED ALREADY_SIGNALED} indicates that sync was signaled at the time that glClientWaitSync was called.
  • *
  • {@link GL32C#GL_TIMEOUT_EXPIRED TIMEOUT_EXPIRED} indicates that at least timeout nanoseconds passed and sync did not become signaled.
  • *
  • {@link GL32C#GL_CONDITION_SATISFIED CONDITION_SATISFIED} indicates that sync was signaled before the timeout expired.
  • *
  • {@link GL32C#GL_WAIT_FAILED WAIT_FAILED} indicates that an error occurred. Additionally, an OpenGL error will be generated.
  • *
* * @param sync the sync object whose status to wait on * @param flags a bitfield controlling the command flushing behavior. One or more of:
0{@link GL32C#GL_SYNC_FLUSH_COMMANDS_BIT SYNC_FLUSH_COMMANDS_BIT}
* @param timeout the timeout, specified in nanoseconds, for which the implementation should wait for {@code sync} to become signaled * * @see Reference Page */ @NativeType("GLenum") public static int glClientWaitSync(@NativeType("GLsync") long sync, @NativeType("GLbitfield") int flags, @NativeType("GLuint64") long timeout) { return GL32C.glClientWaitSync(sync, flags, timeout); } // --- [ glWaitSync ] --- /** Unsafe version of: {@link #glWaitSync WaitSync} */ public static void nglWaitSync(long sync, int flags, long timeout) { GL32C.nglWaitSync(sync, flags, timeout); } /** * Causes the GL server to block and wait for a sync object to become signaled. * *

{@code glWaitSync} will always wait no longer than an implementation-dependent timeout. The duration of this timeout in nanoseconds may be queried by * with {@link GL32C#GL_MAX_SERVER_WAIT_TIMEOUT MAX_SERVER_WAIT_TIMEOUT}. There is currently no way to determine whether glWaitSync unblocked because the timeout expired or because the * sync object being waited on was signaled.

* *

If an error occurs, {@code glWaitSync} does not cause the GL server to block.

* * @param sync the sync object whose status to wait on * @param flags a bitfield controlling the command flushing behavior. Must be:
0
* @param timeout the timeout that the server should wait before continuing. Must be:
{@link GL32C#GL_TIMEOUT_IGNORED TIMEOUT_IGNORED}
* * @see Reference Page */ public static void glWaitSync(@NativeType("GLsync") long sync, @NativeType("GLbitfield") int flags, @NativeType("GLuint64") long timeout) { GL32C.glWaitSync(sync, flags, timeout); } // --- [ glGetInteger64v ] --- /** Unsafe version of: {@link #glGetInteger64v GetInteger64v} */ public static void nglGetInteger64v(int pname, long params) { GL32C.nglGetInteger64v(pname, params); } /** * Returns the 64bit integer value or values of a selected parameter. * * @param pname the parameter value to be returned * @param params the value or values of the specified parameter * * @see Reference Page */ public static void glGetInteger64v(@NativeType("GLenum") int pname, @NativeType("GLint64 *") LongBuffer params) { GL32C.glGetInteger64v(pname, params); } /** * Returns the 64bit integer value or values of a selected parameter. * * @param pname the parameter value to be returned * * @see Reference Page */ @NativeType("void") public static long glGetInteger64(@NativeType("GLenum") int pname) { return GL32C.glGetInteger64(pname); } // --- [ glGetInteger64i_v ] --- /** Unsafe version of: {@link #glGetInteger64i_v GetInteger64i_v} */ public static void nglGetInteger64i_v(int pname, int index, long params) { GL32C.nglGetInteger64i_v(pname, index, params); } /** * Queries the 64bit integer value of an indexed state variable. * * @param pname the indexed state to query * @param index the index of the element being queried * @param params the value or values of the specified parameter * * @see Reference Page */ public static void glGetInteger64i_v(@NativeType("GLenum") int pname, @NativeType("GLuint") int index, @NativeType("GLint64 *") LongBuffer params) { GL32C.glGetInteger64i_v(pname, index, params); } /** * Queries the 64bit integer value of an indexed state variable. * * @param pname the indexed state to query * @param index the index of the element being queried * * @see Reference Page */ @NativeType("void") public static long glGetInteger64i(@NativeType("GLenum") int pname, @NativeType("GLuint") int index) { return GL32C.glGetInteger64i(pname, index); } // --- [ glGetSynciv ] --- /** * Unsafe version of: {@link #glGetSynciv GetSynciv} * * @param bufSize the size of the buffer whose address is given in {@code values} */ public static void nglGetSynciv(long sync, int pname, int bufSize, long length, long values) { GL32C.nglGetSynciv(sync, pname, bufSize, length, values); } /** * Queries the properties of a sync object. * * @param sync the sync object whose properties to query * @param pname the parameter whose value to retrieve from the sync object specified in {@code sync}. One of:
{@link GL32C#GL_OBJECT_TYPE OBJECT_TYPE}{@link GL32C#GL_SYNC_CONDITION SYNC_CONDITION}{@link GL32C#GL_SYNC_STATUS SYNC_STATUS}{@link GL32C#GL_SYNC_FLAGS SYNC_FLAGS}
* @param length the address of an variable to receive the number of integers placed in {@code values} * @param values the address of an array to receive the values of the queried parameter * * @see Reference Page */ public static void glGetSynciv(@NativeType("GLsync") long sync, @NativeType("GLenum") int pname, @Nullable @NativeType("GLsizei *") IntBuffer length, @NativeType("GLint *") IntBuffer values) { GL32C.glGetSynciv(sync, pname, length, values); } /** * Queries the properties of a sync object. * * @param sync the sync object whose properties to query * @param pname the parameter whose value to retrieve from the sync object specified in {@code sync}. One of:
{@link GL32C#GL_OBJECT_TYPE OBJECT_TYPE}{@link GL32C#GL_SYNC_CONDITION SYNC_CONDITION}{@link GL32C#GL_SYNC_STATUS SYNC_STATUS}{@link GL32C#GL_SYNC_FLAGS SYNC_FLAGS}
* @param length the address of an variable to receive the number of integers placed in {@code values} * * @see Reference Page */ @NativeType("void") public static int glGetSynci(@NativeType("GLsync") long sync, @NativeType("GLenum") int pname, @Nullable @NativeType("GLsizei *") IntBuffer length) { return GL32C.glGetSynci(sync, pname, length); } /** * Array version of: {@link #glGetBufferParameteri64v GetBufferParameteri64v} * * @see Reference Page */ public static void glGetBufferParameteri64v(@NativeType("GLenum") int target, @NativeType("GLenum") int pname, @NativeType("GLint64 *") long[] params) { GL32C.glGetBufferParameteri64v(target, pname, params); } /** * Array version of: {@link #glMultiDrawElementsBaseVertex MultiDrawElementsBaseVertex} * * @see Reference Page */ public static void glMultiDrawElementsBaseVertex(@NativeType("GLenum") int mode, @NativeType("GLsizei const *") int[] count, @NativeType("GLenum") int type, @NativeType("void const **") PointerBuffer indices, @NativeType("GLint *") int[] basevertex) { GL32C.glMultiDrawElementsBaseVertex(mode, count, type, indices, basevertex); } /** * Array version of: {@link #glGetMultisamplefv GetMultisamplefv} * * @see Reference Page */ public static void glGetMultisamplefv(@NativeType("GLenum") int pname, @NativeType("GLuint") int index, @NativeType("GLfloat *") float[] val) { GL32C.glGetMultisamplefv(pname, index, val); } /** * Array version of: {@link #glGetInteger64v GetInteger64v} * * @see Reference Page */ public static void glGetInteger64v(@NativeType("GLenum") int pname, @NativeType("GLint64 *") long[] params) { GL32C.glGetInteger64v(pname, params); } /** * Array version of: {@link #glGetInteger64i_v GetInteger64i_v} * * @see Reference Page */ public static void glGetInteger64i_v(@NativeType("GLenum") int pname, @NativeType("GLuint") int index, @NativeType("GLint64 *") long[] params) { GL32C.glGetInteger64i_v(pname, index, params); } /** * Array version of: {@link #glGetSynciv GetSynciv} * * @see Reference Page */ public static void glGetSynciv(@NativeType("GLsync") long sync, @NativeType("GLenum") int pname, @Nullable @NativeType("GLsizei *") int[] length, @NativeType("GLint *") int[] values) { GL32C.glGetSynciv(sync, pname, length, values); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy