| Modifier and Type | Field and Description |
|---|---|
static int |
GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
Accepted by the
pname parameter of GetShaderiv. |
static int |
GL_ACTIVE_ATTRIBUTES
Accepted by the
pname parameter of GetShaderiv. |
static int |
GL_ACTIVE_UNIFORM_MAX_LENGTH
Accepted by the
pname parameter of GetShaderiv. |
static int |
GL_ACTIVE_UNIFORMS
Accepted by the
pname parameter of GetShaderiv. |
static int |
GL_ATTACHED_SHADERS
Accepted by the
pname parameter of GetShaderiv. |
static int |
GL_BLEND_EQUATION_ALPHA
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_BLEND_EQUATION_RGB
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_BOOL
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_BOOL_VEC2
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_BOOL_VEC3
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_BOOL_VEC4
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_COMPILE_STATUS
Accepted by the
pname parameter of GetShaderiv. |
static int |
GL_CURRENT_PROGRAM
Accepted by the
pname parameter of GetInteger. |
static int |
GL_CURRENT_VERTEX_ATTRIB
Accepted by the
pname parameter of GetVertexAttrib{dfi}v. |
static int |
GL_DELETE_STATUS
Accepted by the
pname parameter of GetShaderiv. |
static int |
GL_DRAW_BUFFER0
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER1
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER10
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER11
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER12
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER13
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER14
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER15
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER2
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER3
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER4
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER5
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER6
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER7
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER8
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER9
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_FLOAT_MAT2
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_FLOAT_MAT3
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_FLOAT_MAT4
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_FLOAT_VEC2
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_FLOAT_VEC3
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_FLOAT_VEC4
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_FRAGMENT_SHADER
Accepted by the
type argument of CreateShader and returned by the params parameter of GetShaderiv. |
static int |
GL_FRAGMENT_SHADER_DERIVATIVE_HINT
Accepted by the
target parameter of Hint and the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_INFO_LOG_LENGTH
Accepted by the
pname parameter of GetShaderiv. |
static int |
GL_INT_VEC2
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_INT_VEC3
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_INT_VEC4
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_LINK_STATUS
Accepted by the
pname parameter of GetShaderiv. |
static int |
GL_LOWER_LEFT
Accepted by the
param parameter of PointParameter{if}v. |
static int |
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_MAX_DRAW_BUFFERS
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_MAX_TEXTURE_IMAGE_UNITS
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_MAX_VARYING_FLOATS
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_MAX_VERTEX_ATTRIBS
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_MAX_VERTEX_UNIFORM_COMPONENTS
Accepted by the
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_POINT_SPRITE_COORD_ORIGIN
Accepted by the
pname parameter of PointParameter{if}v. |
static int |
GL_SAMPLER_1D
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_SAMPLER_1D_SHADOW
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_SAMPLER_2D
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_SAMPLER_2D_SHADOW
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_SAMPLER_3D
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_SAMPLER_CUBE
Returned by the
type parameter of GetActiveUniform. |
static int |
GL_SHADER_SOURCE_LENGTH
Accepted by the
pname parameter of GetShaderiv. |
static int |
GL_SHADER_TYPE
Accepted by the
pname parameter of GetShaderiv. |
static int |
GL_SHADING_LANGUAGE_VERSION
Accepted by the
name parameter of GetString. |
static int |
GL_STENCIL_BACK_FAIL
Accepted by the
pname parameter of GetIntegerv. |
static int |
GL_STENCIL_BACK_FUNC
Accepted by the
pname parameter of GetIntegerv. |
static int |
GL_STENCIL_BACK_PASS_DEPTH_FAIL
Accepted by the
pname parameter of GetIntegerv. |
static int |
GL_STENCIL_BACK_PASS_DEPTH_PASS
Accepted by the
pname parameter of GetIntegerv. |
static int |
GL_STENCIL_BACK_REF
Accepted by the
pname parameter of GetIntegerv. |
static int |
GL_STENCIL_BACK_VALUE_MASK
Accepted by the
pname parameter of GetIntegerv. |
static int |
GL_STENCIL_BACK_WRITEMASK
Accepted by the
pname parameter of GetIntegerv. |
static int |
GL_UPPER_LEFT
Accepted by the
param parameter of PointParameter{if}v. |
static int |
GL_VALIDATE_STATUS
Accepted by the
pname parameter of GetShaderiv. |
static int |
GL_VERTEX_ATTRIB_ARRAY_ENABLED
Accepted by the
pname parameter of GetVertexAttrib{dfi}v. |
static int |
GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
Accepted by the
pname parameter of GetVertexAttrib{dfi}v. |
static int |
GL_VERTEX_ATTRIB_ARRAY_POINTER
Accepted by the
pname parameter of GetVertexAttribPointerv. |
static int |
GL_VERTEX_ATTRIB_ARRAY_SIZE
Accepted by the
pname parameter of GetVertexAttrib{dfi}v. |
static int |
GL_VERTEX_ATTRIB_ARRAY_STRIDE
Accepted by the
pname parameter of GetVertexAttrib{dfi}v. |
static int |
GL_VERTEX_ATTRIB_ARRAY_TYPE
Accepted by the
pname parameter of GetVertexAttrib{dfi}v. |
static int |
GL_VERTEX_PROGRAM_POINT_SIZE
Accepted by the
cap parameter of Disable, Enable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and
GetDoublev. |
static int |
GL_VERTEX_SHADER
Accepted by the
type argument of CreateShader and returned by the params parameter of GetShaderiv. |
GL_ARRAY_BUFFER, GL_ARRAY_BUFFER_BINDING, GL_BUFFER_ACCESS, GL_BUFFER_MAP_POINTER, GL_BUFFER_MAPPED, GL_BUFFER_SIZE, GL_BUFFER_USAGE, GL_CURRENT_QUERY, GL_DYNAMIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, GL_ELEMENT_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER_BINDING, GL_QUERY_COUNTER_BITS, GL_QUERY_RESULT, GL_QUERY_RESULT_AVAILABLE, GL_READ_ONLY, GL_READ_WRITE, GL_SAMPLES_PASSED, GL_SRC1_ALPHA, GL_STATIC_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STREAM_COPY, GL_STREAM_DRAW, GL_STREAM_READ, GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_WRITE_ONLYGL_BLEND_DST_ALPHA, GL_BLEND_DST_RGB, GL_BLEND_SRC_ALPHA, GL_BLEND_SRC_RGB, GL_CONSTANT_ALPHA, GL_CONSTANT_COLOR, GL_DECR_WRAP, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT32, GL_FUNC_ADD, GL_FUNC_REVERSE_SUBTRACT, GL_FUNC_SUBTRACT, GL_INCR_WRAP, GL_MAX, GL_MAX_TEXTURE_LOD_BIAS, GL_MIN, GL_MIRRORED_REPEAT, GL_ONE_MINUS_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_COLOR, GL_POINT_FADE_THRESHOLD_SIZE, GL_TEXTURE_COMPARE_FUNC, GL_TEXTURE_COMPARE_MODE, GL_TEXTURE_DEPTH_SIZE, GL_TEXTURE_LOD_BIASGL_ACTIVE_TEXTURE, GL_CLAMP_TO_BORDER, GL_COMPRESSED_RGB, GL_COMPRESSED_RGBA, GL_COMPRESSED_TEXTURE_FORMATS, GL_MAX_CUBE_MAP_TEXTURE_SIZE, GL_MULTISAMPLE, GL_NUM_COMPRESSED_TEXTURE_FORMATS, GL_PROXY_TEXTURE_CUBE_MAP, GL_SAMPLE_ALPHA_TO_COVERAGE, GL_SAMPLE_ALPHA_TO_ONE, GL_SAMPLE_BUFFERS, GL_SAMPLE_COVERAGE, GL_SAMPLE_COVERAGE_INVERT, GL_SAMPLE_COVERAGE_VALUE, GL_SAMPLES, GL_TEXTURE_BINDING_CUBE_MAP, GL_TEXTURE_COMPRESSED, GL_TEXTURE_COMPRESSED_IMAGE_SIZE, GL_TEXTURE_COMPRESSION_HINT, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE0, GL_TEXTURE1, GL_TEXTURE10, GL_TEXTURE11, GL_TEXTURE12, GL_TEXTURE13, GL_TEXTURE14, GL_TEXTURE15, GL_TEXTURE16, GL_TEXTURE17, GL_TEXTURE18, GL_TEXTURE19, GL_TEXTURE2, GL_TEXTURE20, GL_TEXTURE21, GL_TEXTURE22, GL_TEXTURE23, GL_TEXTURE24, GL_TEXTURE25, GL_TEXTURE26, GL_TEXTURE27, GL_TEXTURE28, GL_TEXTURE29, GL_TEXTURE3, GL_TEXTURE30, GL_TEXTURE31, GL_TEXTURE4, GL_TEXTURE5, GL_TEXTURE6, GL_TEXTURE7, GL_TEXTURE8, GL_TEXTURE9GL_ALIASED_LINE_WIDTH_RANGE, GL_BGR, GL_BGRA, GL_CLAMP_TO_EDGE, GL_MAX_3D_TEXTURE_SIZE, GL_MAX_ELEMENTS_INDICES, GL_MAX_ELEMENTS_VERTICES, GL_PACK_IMAGE_HEIGHT, GL_PACK_SKIP_IMAGES, GL_PROXY_TEXTURE_3D, GL_SMOOTH_LINE_WIDTH_GRANULARITY, GL_SMOOTH_LINE_WIDTH_RANGE, GL_SMOOTH_POINT_SIZE_GRANULARITY, GL_SMOOTH_POINT_SIZE_RANGE, GL_TEXTURE_3D, GL_TEXTURE_BASE_LEVEL, GL_TEXTURE_BINDING_3D, GL_TEXTURE_DEPTH, GL_TEXTURE_MAX_LEVEL, GL_TEXTURE_MAX_LOD, GL_TEXTURE_MIN_LOD, GL_TEXTURE_WRAP_R, GL_UNPACK_IMAGE_HEIGHT, GL_UNPACK_SKIP_IMAGES, GL_UNSIGNED_BYTE_2_3_3_REV, GL_UNSIGNED_BYTE_3_3_2, GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT_8_8_8_8, GL_UNSIGNED_INT_8_8_8_8_REV, GL_UNSIGNED_SHORT_1_5_5_5_REV, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_5_6_5_REVGL_ALPHA, GL_ALWAYS, GL_AND, GL_AND_INVERTED, GL_AND_REVERSE, GL_BACK, GL_BACK_LEFT, GL_BACK_RIGHT, GL_BLEND, GL_BLEND_DST, GL_BLEND_SRC, GL_BLUE, GL_BYTE, GL_CCW, GL_CLEAR, GL_COLOR, GL_COLOR_BUFFER_BIT, GL_COLOR_CLEAR_VALUE, GL_COLOR_LOGIC_OP, GL_COLOR_WRITEMASK, GL_COPY, GL_COPY_INVERTED, GL_CULL_FACE, GL_CULL_FACE_MODE, GL_CW, GL_DECR, GL_DEPTH, GL_DEPTH_BUFFER_BIT, GL_DEPTH_CLEAR_VALUE, GL_DEPTH_COMPONENT, GL_DEPTH_FUNC, GL_DEPTH_RANGE, GL_DEPTH_TEST, GL_DEPTH_WRITEMASK, GL_DITHER, GL_DONT_CARE, GL_DOUBLE, GL_DOUBLEBUFFER, GL_DRAW_BUFFER, GL_DST_ALPHA, GL_DST_COLOR, GL_EQUAL, GL_EQUIV, GL_EXTENSIONS, GL_FALSE, GL_FASTEST, GL_FILL, GL_FLOAT, GL_FRONT, GL_FRONT_AND_BACK, GL_FRONT_FACE, GL_FRONT_LEFT, GL_FRONT_RIGHT, GL_GEQUAL, GL_GREATER, GL_GREEN, GL_INCR, GL_INT, GL_INVALID_ENUM, GL_INVALID_OPERATION, GL_INVALID_VALUE, GL_INVERT, GL_KEEP, GL_LEFT, GL_LEQUAL, GL_LESS, GL_LINE, GL_LINE_LOOP, GL_LINE_SMOOTH, GL_LINE_SMOOTH_HINT, GL_LINE_STRIP, GL_LINE_WIDTH, GL_LINE_WIDTH_GRANULARITY, GL_LINE_WIDTH_RANGE, GL_LINEAR, GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_LINES, GL_LOGIC_OP_MODE, GL_MAX_TEXTURE_SIZE, GL_MAX_VIEWPORT_DIMS, GL_NAND, GL_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_NEAREST_MIPMAP_NEAREST, GL_NEVER, GL_NICEST, GL_NO_ERROR, GL_NONE, GL_NOOP, GL_NOR, GL_NOTEQUAL, GL_ONE, GL_ONE_MINUS_DST_ALPHA, GL_ONE_MINUS_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_COLOR, GL_OR, GL_OR_INVERTED, GL_OR_REVERSE, GL_OUT_OF_MEMORY, GL_PACK_ALIGNMENT, GL_PACK_LSB_FIRST, GL_PACK_ROW_LENGTH, GL_PACK_SKIP_PIXELS, GL_PACK_SKIP_ROWS, GL_PACK_SWAP_BYTES, GL_POINT, GL_POINT_SIZE, GL_POINT_SIZE_GRANULARITY, GL_POINT_SIZE_RANGE, GL_POINTS, GL_POLYGON_MODE, GL_POLYGON_OFFSET_FACTOR, GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_LINE, GL_POLYGON_OFFSET_POINT, GL_POLYGON_OFFSET_UNITS, GL_POLYGON_SMOOTH, GL_POLYGON_SMOOTH_HINT, GL_PROXY_TEXTURE_1D, GL_PROXY_TEXTURE_2D, GL_QUADS, GL_R3_G3_B2, GL_READ_BUFFER, GL_RED, GL_RENDERER, GL_REPEAT, GL_REPLACE, GL_RGB, GL_RGB10, GL_RGB10_A2, GL_RGB12, GL_RGB16, GL_RGB4, GL_RGB5, GL_RGB5_A1, GL_RGB8, GL_RGBA, GL_RGBA12, GL_RGBA16, GL_RGBA2, GL_RGBA4, GL_RGBA8, GL_RIGHT, GL_SCISSOR_BOX, GL_SCISSOR_TEST, GL_SET, GL_SHORT, GL_SRC_ALPHA, GL_SRC_ALPHA_SATURATE, GL_SRC_COLOR, GL_STACK_OVERFLOW, GL_STACK_UNDERFLOW, GL_STENCIL, GL_STENCIL_BUFFER_BIT, GL_STENCIL_CLEAR_VALUE, GL_STENCIL_FAIL, GL_STENCIL_FUNC, GL_STENCIL_INDEX, GL_STENCIL_PASS_DEPTH_FAIL, GL_STENCIL_PASS_DEPTH_PASS, GL_STENCIL_REF, GL_STENCIL_TEST, GL_STENCIL_VALUE_MASK, GL_STENCIL_WRITEMASK, GL_STEREO, GL_SUBPIXEL_BITS, GL_TEXTURE_1D, GL_TEXTURE_2D, GL_TEXTURE_ALPHA_SIZE, GL_TEXTURE_BINDING_1D, GL_TEXTURE_BINDING_2D, GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_BORDER_COLOR, GL_TEXTURE_GREEN_SIZE, GL_TEXTURE_HEIGHT, GL_TEXTURE_INTERNAL_FORMAT, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_RED_SIZE, GL_TEXTURE_WIDTH, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TRIANGLE_FAN, GL_TRIANGLE_STRIP, GL_TRIANGLES, GL_TRUE, GL_UNPACK_ALIGNMENT, GL_UNPACK_LSB_FIRST, GL_UNPACK_ROW_LENGTH, GL_UNPACK_SKIP_PIXELS, GL_UNPACK_SKIP_ROWS, GL_UNPACK_SWAP_BYTES, GL_UNSIGNED_BYTE, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_VENDOR, GL_VERSION, GL_VERTEX_ARRAY, GL_VIEWPORT, GL_XOR, GL_ZERO| Modifier and Type | Method and Description |
|---|---|
static void |
glAttachShader(int program,
int shader)
Attaches a shader object to a program object.
|
static void |
glBindAttribLocation(int program,
int index,
java.nio.ByteBuffer name)
Associates a generic vertex attribute index with a named attribute variable.
|
static void |
glBindAttribLocation(int program,
int index,
java.lang.CharSequence name)
Associates a generic vertex attribute index with a named attribute variable.
|
static void |
glBlendEquationSeparate(int modeRGB,
int modeAlpha)
Sets the RGB blend equation and the alpha blend equation separately.
|
static void |
glCompileShader(int shader)
Compiles a shader object.
|
static int |
glCreateProgram()
Creates a program object.
|
static int |
glCreateShader(int type)
Creates a shader object.
|
static void |
glDeleteProgram(int program)
Deletes a program object.
|
static void |
glDeleteShader(int shader)
Deletes a shader object.
|
static void |
glDetachShader(int program,
int shader)
Detaches a shader object from a program object to which it is attached.
|
static void |
glDisableVertexAttribArray(int index)
Disables a generic vertex attribute array.
|
static void |
glDrawBuffers(int buf)
Specifies a list of color buffers to be drawn into.
|
static void |
glDrawBuffers(int[] bufs)
Array version of:
DrawBuffers |
static void |
glDrawBuffers(java.nio.IntBuffer bufs)
Specifies a list of color buffers to be drawn into.
|
static void |
glEnableVertexAttribArray(int index)
Enables a generic vertex attribute array.
|
static void |
glGetActiveAttrib(int program,
int index,
int[] length,
int[] size,
int[] type,
java.nio.ByteBuffer name)
Array version of:
GetActiveAttrib |
static java.lang.String |
glGetActiveAttrib(int program,
int index,
java.nio.IntBuffer size,
java.nio.IntBuffer type)
Returns information about an active attribute variable for the specified program object.
|
static void |
glGetActiveAttrib(int program,
int index,
java.nio.IntBuffer length,
java.nio.IntBuffer size,
java.nio.IntBuffer type,
java.nio.ByteBuffer name)
Returns information about an active attribute variable for the specified program object.
|
static java.lang.String |
glGetActiveAttrib(int program,
int index,
int maxLength,
java.nio.IntBuffer size,
java.nio.IntBuffer type)
Returns information about an active attribute variable for the specified program object.
|
static void |
glGetActiveUniform(int program,
int index,
int[] length,
int[] size,
int[] type,
java.nio.ByteBuffer name)
Array version of:
GetActiveUniform |
static java.lang.String |
glGetActiveUniform(int program,
int index,
java.nio.IntBuffer size,
java.nio.IntBuffer type)
Returns information about an active uniform variable for the specified program object.
|
static void |
glGetActiveUniform(int program,
int index,
java.nio.IntBuffer length,
java.nio.IntBuffer size,
java.nio.IntBuffer type,
java.nio.ByteBuffer name)
Returns information about an active uniform variable for the specified program object.
|
static java.lang.String |
glGetActiveUniform(int program,
int index,
int maxLength,
java.nio.IntBuffer size,
java.nio.IntBuffer type)
Returns information about an active uniform variable for the specified program object.
|
static void |
glGetAttachedShaders(int program,
int[] count,
int[] shaders)
Array version of:
GetAttachedShaders |
static void |
glGetAttachedShaders(int program,
java.nio.IntBuffer count,
java.nio.IntBuffer shaders)
Returns the shader objects attached to a program object.
|
static int |
glGetAttribLocation(int program,
java.nio.ByteBuffer name)
Returns the location of an attribute variable.
|
static int |
glGetAttribLocation(int program,
java.lang.CharSequence name)
Returns the location of an attribute variable.
|
static int |
glGetProgrami(int program,
int pname)
Returns a parameter from a program object.
|
static java.lang.String |
glGetProgramInfoLog(int program)
Returns the information log for a program object.
|
static java.lang.String |
glGetProgramInfoLog(int program,
int maxLength)
Returns the information log for a program object.
|
static void |
glGetProgramInfoLog(int program,
int[] length,
java.nio.ByteBuffer infoLog)
Array version of:
GetProgramInfoLog |
static void |
glGetProgramInfoLog(int program,
java.nio.IntBuffer length,
java.nio.ByteBuffer infoLog)
Returns the information log for a program object.
|
static void |
glGetProgramiv(int program,
int pname,
int[] params)
Array version of:
GetProgramiv |
static void |
glGetProgramiv(int program,
int pname,
java.nio.IntBuffer params)
Returns a parameter from a program object.
|
static int |
glGetShaderi(int shader,
int pname)
Returns a parameter from a shader object.
|
static java.lang.String |
glGetShaderInfoLog(int shader)
Returns the information log for a shader object.
|
static java.lang.String |
glGetShaderInfoLog(int shader,
int maxLength)
Returns the information log for a shader object.
|
static void |
glGetShaderInfoLog(int shader,
int[] length,
java.nio.ByteBuffer infoLog)
Array version of:
GetShaderInfoLog |
static void |
glGetShaderInfoLog(int shader,
java.nio.IntBuffer length,
java.nio.ByteBuffer infoLog)
Returns the information log for a shader object.
|
static void |
glGetShaderiv(int shader,
int pname,
int[] params)
Array version of:
GetShaderiv |
static void |
glGetShaderiv(int shader,
int pname,
java.nio.IntBuffer params)
Returns a parameter from a shader object.
|
static java.lang.String |
glGetShaderSource(int shader)
Returns the source code string from a shader object.
|
static java.lang.String |
glGetShaderSource(int shader,
int maxLength)
Returns the source code string from a shader object.
|
static void |
glGetShaderSource(int shader,
int[] length,
java.nio.ByteBuffer source)
Array version of:
GetShaderSource |
static void |
glGetShaderSource(int shader,
java.nio.IntBuffer length,
java.nio.ByteBuffer source)
Returns the source code string from a shader object.
|
static float |
glGetUniformf(int program,
int location)
Returns the float value(s) of a uniform variable.
|
static void |
glGetUniformfv(int program,
int location,
float[] params)
Array version of:
GetUniformfv |
static void |
glGetUniformfv(int program,
int location,
java.nio.FloatBuffer params)
Returns the float value(s) of a uniform variable.
|
static int |
glGetUniformi(int program,
int location)
Returns the int value(s) of a uniform variable.
|
static void |
glGetUniformiv(int program,
int location,
int[] params)
Array version of:
GetUniformiv |
static void |
glGetUniformiv(int program,
int location,
java.nio.IntBuffer params)
Returns the int value(s) of a uniform variable.
|
static int |
glGetUniformLocation(int program,
java.nio.ByteBuffer name)
Returns the location of a uniform variable.
|
static int |
glGetUniformLocation(int program,
java.lang.CharSequence name)
Returns the location of a uniform variable.
|
static void |
glGetVertexAttribdv(int index,
int pname,
double[] params)
Array version of:
GetVertexAttribdv |
static void |
glGetVertexAttribdv(int index,
int pname,
java.nio.DoubleBuffer params)
Double version of
GetVertexAttribiv. |
static void |
glGetVertexAttribfv(int index,
int pname,
float[] params)
Array version of:
GetVertexAttribfv |
static void |
glGetVertexAttribfv(int index,
int pname,
java.nio.FloatBuffer params)
Float version of
GetVertexAttribiv. |
static int |
glGetVertexAttribi(int index,
int pname)
Returns the integer value of a generic vertex attribute parameter.
|
static void |
glGetVertexAttribiv(int index,
int pname,
int[] params)
Array version of:
GetVertexAttribiv |
static void |
glGetVertexAttribiv(int index,
int pname,
java.nio.IntBuffer params)
Returns the integer value of a generic vertex attribute parameter.
|
static long |
glGetVertexAttribPointer(int index,
int pname)
Returns the address of the specified generic vertex attribute pointer.
|
static void |
glGetVertexAttribPointerv(int index,
int pname,
org.lwjgl.PointerBuffer pointer)
Returns the address of the specified generic vertex attribute pointer.
|
static boolean |
glIsProgram(int program)
Returns
TRUE if program is the name of a program object. |
static boolean |
glIsShader(int shader)
Returns
TRUE if shader is the name of a shader object. |
static void |
glLinkProgram(int program)
Links a program object.
|
static void |
glShaderSource(int shader,
java.lang.CharSequence... strings)
Sets the source code in
shader to the source code in the array of strings specified by strings. |
static void |
glShaderSource(int shader,
java.lang.CharSequence string)
Sets the source code in
shader to the source code in the array of strings specified by strings. |
static void |
glShaderSource(int shader,
org.lwjgl.PointerBuffer strings,
int[] length)
Array version of:
ShaderSource |
static void |
glShaderSource(int shader,
org.lwjgl.PointerBuffer strings,
java.nio.IntBuffer length)
Sets the source code in
shader to the source code in the array of strings specified by strings. |
static void |
glStencilFuncSeparate(int face,
int func,
int ref,
int mask)
Sets front and/or back function and reference value for stencil testing.
|
static void |
glStencilMaskSeparate(int face,
int mask)
Controls the front and/or back writing of individual bits in the stencil planes.
|
static void |
glStencilOpSeparate(int face,
int sfail,
int dpfail,
int dppass)
Sets front and/or back stencil test actions.
|
static void |
glUniform1f(int location,
float v0)
Specifies the value of a float uniform variable for the current program object.
|
static void |
glUniform1fv(int location,
float[] value)
Array version of:
Uniform1fv |
static void |
glUniform1fv(int location,
java.nio.FloatBuffer value)
Specifies the value of a single float uniform variable or a float uniform variable array for the current program object.
|
static void |
glUniform1i(int location,
int v0)
Specifies the value of an int uniform variable for the current program object.
|
static void |
glUniform1iv(int location,
int[] value)
Array version of:
Uniform1iv |
static void |
glUniform1iv(int location,
java.nio.IntBuffer value)
Specifies the value of a single int uniform variable or a int uniform variable array for the current program object.
|
static void |
glUniform2f(int location,
float v0,
float v1)
Specifies the value of a vec2 uniform variable for the current program object.
|
static void |
glUniform2fv(int location,
float[] value)
Array version of:
Uniform2fv |
static void |
glUniform2fv(int location,
java.nio.FloatBuffer value)
Specifies the value of a single vec2 uniform variable or a vec2 uniform variable array for the current program object.
|
static void |
glUniform2i(int location,
int v0,
int v1)
Specifies the value of an ivec2 uniform variable for the current program object.
|
static void |
glUniform2iv(int location,
int[] value)
Array version of:
Uniform2iv |
static void |
glUniform2iv(int location,
java.nio.IntBuffer value)
Specifies the value of a single ivec2 uniform variable or an ivec2 uniform variable array for the current program object.
|
static void |
glUniform3f(int location,
float v0,
float v1,
float v2)
Specifies the value of a vec3 uniform variable for the current program object.
|
static void |
glUniform3fv(int location,
float[] value)
Array version of:
Uniform3fv |
static void |
glUniform3fv(int location,
java.nio.FloatBuffer value)
Specifies the value of a single vec3 uniform variable or a vec3 uniform variable array for the current program object.
|
static void |
glUniform3i(int location,
int v0,
int v1,
int v2)
Specifies the value of an ivec3 uniform variable for the current program object.
|
static void |
glUniform3iv(int location,
int[] value)
Array version of:
Uniform3iv |
static void |
glUniform3iv(int location,
java.nio.IntBuffer value)
Specifies the value of a single ivec3 uniform variable or an ivec3 uniform variable array for the current program object.
|
static void |
glUniform4f(int location,
float v0,
float v1,
float v2,
float v3)
Specifies the value of a vec4 uniform variable for the current program object.
|
static void |
glUniform4fv(int location,
float[] value)
Array version of:
Uniform4fv |
static void |
glUniform4fv(int location,
java.nio.FloatBuffer value)
Specifies the value of a single vec4 uniform variable or a vec4 uniform variable array for the current program object.
|
static void |
glUniform4i(int location,
int v0,
int v1,
int v2,
int v3)
Specifies the value of an ivec4 uniform variable for the current program object.
|
static void |
glUniform4iv(int location,
int[] value)
Array version of:
Uniform4iv |
static void |
glUniform4iv(int location,
java.nio.IntBuffer value)
Specifies the value of a single ivec4 uniform variable or an ivec4 uniform variable array for the current program object.
|
static void |
glUniformMatrix2fv(int location,
boolean transpose,
float[] value)
Array version of:
UniformMatrix2fv |
static void |
glUniformMatrix2fv(int location,
boolean transpose,
java.nio.FloatBuffer value)
Specifies the value of a single mat2 uniform variable or a mat2 uniform variable array for the current program object.
|
static void |
glUniformMatrix3fv(int location,
boolean transpose,
float[] value)
Array version of:
UniformMatrix3fv |
static void |
glUniformMatrix3fv(int location,
boolean transpose,
java.nio.FloatBuffer value)
Specifies the value of a single mat3 uniform variable or a mat3 uniform variable array for the current program object.
|
static void |
glUniformMatrix4fv(int location,
boolean transpose,
float[] value)
Array version of:
UniformMatrix4fv |
static void |
glUniformMatrix4fv(int location,
boolean transpose,
java.nio.FloatBuffer value)
Specifies the value of a single mat4 uniform variable or a mat4 uniform variable array for the current program object.
|
static void |
glUseProgram(int program)
Installs a program object as part of current rendering state.
|
static void |
glValidateProgram(int program)
Validates a program object.
|
static void |
glVertexAttrib1d(int index,
double v0)
Double version of
VertexAttrib1f. |
static void |
glVertexAttrib1dv(int index,
double[] v)
Array version of:
VertexAttrib1dv |
static void |
glVertexAttrib1dv(int index,
java.nio.DoubleBuffer v)
Pointer version of
VertexAttrib1d. |
static void |
glVertexAttrib1f(int index,
float v0)
Specifies the value of a generic vertex attribute.
|
static void |
glVertexAttrib1fv(int index,
float[] v)
Array version of:
VertexAttrib1fv |
static void |
glVertexAttrib1fv(int index,
java.nio.FloatBuffer v)
Pointer version of
VertexAttrib1f. |
static void |
glVertexAttrib1s(int index,
short v0)
Short version of
VertexAttrib1f. |
static void |
glVertexAttrib1sv(int index,
short[] v)
Array version of:
VertexAttrib1sv |
static void |
glVertexAttrib1sv(int index,
java.nio.ShortBuffer v)
Pointer version of
VertexAttrib1s. |
static void |
glVertexAttrib2d(int index,
double v0,
double v1)
Double version of
VertexAttrib2f. |
static void |
glVertexAttrib2dv(int index,
double[] v)
Array version of:
VertexAttrib2dv |
static void |
glVertexAttrib2dv(int index,
java.nio.DoubleBuffer v)
Pointer version of
VertexAttrib2d. |
static void |
glVertexAttrib2f(int index,
float v0,
float v1)
Specifies the value of a generic vertex attribute.
|
static void |
glVertexAttrib2fv(int index,
float[] v)
Array version of:
VertexAttrib2fv |
static void |
glVertexAttrib2fv(int index,
java.nio.FloatBuffer v)
Pointer version of
VertexAttrib2f. |
static void |
glVertexAttrib2s(int index,
short v0,
short v1)
Short version of
VertexAttrib2f. |
static void |
glVertexAttrib2sv(int index,
short[] v)
Array version of:
VertexAttrib2sv |
static void |
glVertexAttrib2sv(int index,
java.nio.ShortBuffer v)
Pointer version of
VertexAttrib2s. |
static void |
glVertexAttrib3d(int index,
double v0,
double v1,
double v2)
Double version of
VertexAttrib3f. |
static void |
glVertexAttrib3dv(int index,
double[] v)
Array version of:
VertexAttrib3dv |
static void |
glVertexAttrib3dv(int index,
java.nio.DoubleBuffer v)
Pointer version of
VertexAttrib3d. |
static void |
glVertexAttrib3f(int index,
float v0,
float v1,
float v2)
Specifies the value of a generic vertex attribute.
|
static void |
glVertexAttrib3fv(int index,
float[] v)
Array version of:
VertexAttrib3fv |
static void |
glVertexAttrib3fv(int index,
java.nio.FloatBuffer v)
Pointer version of
VertexAttrib3f. |
static void |
glVertexAttrib3s(int index,
short v0,
short v1,
short v2)
Short version of
VertexAttrib3f. |
static void |
glVertexAttrib3sv(int index,
short[] v)
Array version of:
VertexAttrib3sv |
static void |
glVertexAttrib3sv(int index,
java.nio.ShortBuffer v)
Pointer version of
VertexAttrib3s. |
static void |
glVertexAttrib4bv(int index,
java.nio.ByteBuffer v)
Byte pointer version of
VertexAttrib4f. |
static void |
glVertexAttrib4d(int index,
double v0,
double v1,
double v2,
double v3)
Double version of
VertexAttrib4f. |
static void |
glVertexAttrib4dv(int index,
double[] v)
Array version of:
VertexAttrib4dv |
static void |
glVertexAttrib4dv(int index,
java.nio.DoubleBuffer v)
Pointer version of
VertexAttrib4d. |
static void |
glVertexAttrib4f(int index,
float v0,
float v1,
float v2,
float v3)
Specifies the value of a generic vertex attribute.
|
static void |
glVertexAttrib4fv(int index,
float[] v)
Array version of:
VertexAttrib4fv |
static void |
glVertexAttrib4fv(int index,
java.nio.FloatBuffer v)
Pointer version of
VertexAttrib4f. |
static void |
glVertexAttrib4iv(int index,
int[] v)
Array version of:
VertexAttrib4iv |
static void |
glVertexAttrib4iv(int index,
java.nio.IntBuffer v)
Integer pointer version of
VertexAttrib4f. |
static void |
glVertexAttrib4Nbv(int index,
java.nio.ByteBuffer v)
Normalized byte pointer version of
VertexAttrib4f. |
static void |
glVertexAttrib4Niv(int index,
int[] v)
Array version of:
VertexAttrib4Niv |
static void |
glVertexAttrib4Niv(int index,
java.nio.IntBuffer v)
Normalized int pointer version of
VertexAttrib4f. |
static void |
glVertexAttrib4Nsv(int index,
short[] v)
Array version of:
VertexAttrib4Nsv |
static void |
glVertexAttrib4Nsv(int index,
java.nio.ShortBuffer v)
Normalized short pointer version of
VertexAttrib4f. |
static void |
glVertexAttrib4Nub(int index,
byte x,
byte y,
byte z,
byte w)
Normalized unsigned byte version of
VertexAttrib4f. |
static void |
glVertexAttrib4Nubv(int index,
java.nio.ByteBuffer v)
Normalized unsigned byte pointer version of
VertexAttrib4f. |
static void |
glVertexAttrib4Nuiv(int index,
int[] v)
Array version of:
VertexAttrib4Nuiv |
static void |
glVertexAttrib4Nuiv(int index,
java.nio.IntBuffer v)
Normalized unsigned int pointer version of
VertexAttrib4f. |
static void |
glVertexAttrib4Nusv(int index,
short[] v)
Array version of:
VertexAttrib4Nusv |
static void |
glVertexAttrib4Nusv(int index,
java.nio.ShortBuffer v)
Normalized unsigned short pointer version of
VertexAttrib4f. |
static void |
glVertexAttrib4s(int index,
short v0,
short v1,
short v2,
short v3)
Short version of
VertexAttrib4f. |
static void |
glVertexAttrib4sv(int index,
short[] v)
Array version of:
VertexAttrib4sv |
static void |
glVertexAttrib4sv(int index,
java.nio.ShortBuffer v)
Pointer version of
VertexAttrib4s. |
static void |
glVertexAttrib4ubv(int index,
java.nio.ByteBuffer v)
Pointer version of
VertexAttrib4Nub. |
static void |
glVertexAttrib4uiv(int index,
int[] v)
Array version of:
VertexAttrib4uiv |
static void |
glVertexAttrib4uiv(int index,
java.nio.IntBuffer v)
Unsigned int pointer version of
VertexAttrib4f. |
static void |
glVertexAttrib4usv(int index,
short[] v)
Array version of:
VertexAttrib4usv |
static void |
glVertexAttrib4usv(int index,
java.nio.ShortBuffer v)
Unsigned short pointer version of
VertexAttrib4f. |
static void |
glVertexAttribPointer(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.ByteBuffer pointer)
Specifies the location and organization of a vertex attribute array.
|
static void |
glVertexAttribPointer(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.FloatBuffer pointer)
Specifies the location and organization of a vertex attribute array.
|
static void |
glVertexAttribPointer(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.IntBuffer pointer)
Specifies the location and organization of a vertex attribute array.
|
static void |
glVertexAttribPointer(int index,
int size,
int type,
boolean normalized,
int stride,
long pointer)
Specifies the location and organization of a vertex attribute array.
|
static void |
glVertexAttribPointer(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.ShortBuffer pointer)
Specifies the location and organization of a vertex attribute array.
|
static void |
nglBindAttribLocation(int program,
int index,
long name)
Unsafe version of:
BindAttribLocation |
static void |
nglDrawBuffers(int n,
long bufs)
Unsafe version of:
DrawBuffers |
static void |
nglGetActiveAttrib(int program,
int index,
int maxLength,
long length,
long size,
long type,
long name)
Unsafe version of:
GetActiveAttrib |
static void |
nglGetActiveUniform(int program,
int index,
int maxLength,
long length,
long size,
long type,
long name)
Unsafe version of:
GetActiveUniform |
static void |
nglGetAttachedShaders(int program,
int maxCount,
long count,
long shaders)
Unsafe version of:
GetAttachedShaders |
static int |
nglGetAttribLocation(int program,
long name)
Unsafe version of:
GetAttribLocation |
static void |
nglGetProgramInfoLog(int program,
int maxLength,
long length,
long infoLog)
Unsafe version of:
GetProgramInfoLog |
static void |
nglGetProgramiv(int program,
int pname,
long params)
Unsafe version of:
GetProgramiv |
static void |
nglGetShaderInfoLog(int shader,
int maxLength,
long length,
long infoLog)
Unsafe version of:
GetShaderInfoLog |
static void |
nglGetShaderiv(int shader,
int pname,
long params)
Unsafe version of:
GetShaderiv |
static void |
nglGetShaderSource(int shader,
int maxLength,
long length,
long source)
Unsafe version of:
GetShaderSource |
static void |
nglGetUniformfv(int program,
int location,
long params)
Unsafe version of:
GetUniformfv |
static void |
nglGetUniformiv(int program,
int location,
long params)
Unsafe version of:
GetUniformiv |
static int |
nglGetUniformLocation(int program,
long name)
Unsafe version of:
GetUniformLocation |
static void |
nglGetVertexAttribdv(int index,
int pname,
long params)
Unsafe version of:
GetVertexAttribdv |
static void |
nglGetVertexAttribfv(int index,
int pname,
long params)
Unsafe version of:
GetVertexAttribfv |
static void |
nglGetVertexAttribiv(int index,
int pname,
long params)
Unsafe version of:
GetVertexAttribiv |
static void |
nglGetVertexAttribPointerv(int index,
int pname,
long pointer)
Unsafe version of:
GetVertexAttribPointerv |
static void |
nglShaderSource(int shader,
int count,
long strings,
long length)
Unsafe version of:
ShaderSource |
static void |
nglUniform1fv(int location,
int count,
long value)
Unsafe version of:
Uniform1fv |
static void |
nglUniform1iv(int location,
int count,
long value)
Unsafe version of:
Uniform1iv |
static void |
nglUniform2fv(int location,
int count,
long value)
Unsafe version of:
Uniform2fv |
static void |
nglUniform2iv(int location,
int count,
long value)
Unsafe version of:
Uniform2iv |
static void |
nglUniform3fv(int location,
int count,
long value)
Unsafe version of:
Uniform3fv |
static void |
nglUniform3iv(int location,
int count,
long value)
Unsafe version of:
Uniform3iv |
static void |
nglUniform4fv(int location,
int count,
long value)
Unsafe version of:
Uniform4fv |
static void |
nglUniform4iv(int location,
int count,
long value)
Unsafe version of:
Uniform4iv |
static void |
nglUniformMatrix2fv(int location,
int count,
boolean transpose,
long value)
Unsafe version of:
UniformMatrix2fv |
static void |
nglUniformMatrix3fv(int location,
int count,
boolean transpose,
long value)
Unsafe version of:
UniformMatrix3fv |
static void |
nglUniformMatrix4fv(int location,
int count,
boolean transpose,
long value)
Unsafe version of:
UniformMatrix4fv |
static void |
nglVertexAttrib1dv(int index,
long v)
Unsafe version of:
VertexAttrib1dv |
static void |
nglVertexAttrib1fv(int index,
long v)
Unsafe version of:
VertexAttrib1fv |
static void |
nglVertexAttrib1sv(int index,
long v)
Unsafe version of:
VertexAttrib1sv |
static void |
nglVertexAttrib2dv(int index,
long v)
Unsafe version of:
VertexAttrib2dv |
static void |
nglVertexAttrib2fv(int index,
long v)
Unsafe version of:
VertexAttrib2fv |
static void |
nglVertexAttrib2sv(int index,
long v)
Unsafe version of:
VertexAttrib2sv |
static void |
nglVertexAttrib3dv(int index,
long v)
Unsafe version of:
VertexAttrib3dv |
static void |
nglVertexAttrib3fv(int index,
long v)
Unsafe version of:
VertexAttrib3fv |
static void |
nglVertexAttrib3sv(int index,
long v)
Unsafe version of:
VertexAttrib3sv |
static void |
nglVertexAttrib4bv(int index,
long v)
Unsafe version of:
VertexAttrib4bv |
static void |
nglVertexAttrib4dv(int index,
long v)
Unsafe version of:
VertexAttrib4dv |
static void |
nglVertexAttrib4fv(int index,
long v)
Unsafe version of:
VertexAttrib4fv |
static void |
nglVertexAttrib4iv(int index,
long v)
Unsafe version of:
VertexAttrib4iv |
static void |
nglVertexAttrib4Nbv(int index,
long v)
Unsafe version of:
VertexAttrib4Nbv |
static void |
nglVertexAttrib4Niv(int index,
long v)
Unsafe version of:
VertexAttrib4Niv |
static void |
nglVertexAttrib4Nsv(int index,
long v)
Unsafe version of:
VertexAttrib4Nsv |
static void |
nglVertexAttrib4Nubv(int index,
long v)
Unsafe version of:
VertexAttrib4Nubv |
static void |
nglVertexAttrib4Nuiv(int index,
long v)
Unsafe version of:
VertexAttrib4Nuiv |
static void |
nglVertexAttrib4Nusv(int index,
long v)
Unsafe version of:
VertexAttrib4Nusv |
static void |
nglVertexAttrib4sv(int index,
long v)
Unsafe version of:
VertexAttrib4sv |
static void |
nglVertexAttrib4ubv(int index,
long v)
Unsafe version of:
VertexAttrib4ubv |
static void |
nglVertexAttrib4uiv(int index,
long v)
Unsafe version of:
VertexAttrib4uiv |
static void |
nglVertexAttrib4usv(int index,
long v)
Unsafe version of:
VertexAttrib4usv |
static void |
nglVertexAttribPointer(int index,
int size,
int type,
boolean normalized,
int stride,
long pointer)
Unsafe version of:
VertexAttribPointer |
glBeginQuery, glBindBuffer, glBufferData, glBufferData, glBufferData, glBufferData, glBufferData, glBufferData, glBufferData, glBufferData, glBufferData, glBufferData, glBufferData, glBufferData, glBufferSubData, glBufferSubData, glBufferSubData, glBufferSubData, glBufferSubData, glBufferSubData, glBufferSubData, glBufferSubData, glBufferSubData, glBufferSubData, glBufferSubData, glDeleteBuffers, glDeleteBuffers, glDeleteBuffers, glDeleteQueries, glDeleteQueries, glDeleteQueries, glEndQuery, glGenBuffers, glGenBuffers, glGenBuffers, glGenQueries, glGenQueries, glGenQueries, glGetBufferParameteri, glGetBufferParameteriv, glGetBufferParameteriv, glGetBufferPointer, glGetBufferPointerv, glGetBufferSubData, glGetBufferSubData, glGetBufferSubData, glGetBufferSubData, glGetBufferSubData, glGetBufferSubData, glGetBufferSubData, glGetBufferSubData, glGetBufferSubData, glGetBufferSubData, glGetBufferSubData, glGetQueryi, glGetQueryiv, glGetQueryiv, glGetQueryObjecti, glGetQueryObjectiv, glGetQueryObjectiv, glGetQueryObjectui, glGetQueryObjectuiv, glGetQueryObjectuiv, glIsBuffer, glIsQuery, glMapBuffer, glMapBuffer, glMapBuffer, glUnmapBuffer, nglBufferData, nglBufferSubData, nglDeleteBuffers, nglDeleteQueries, nglGenBuffers, nglGenQueries, nglGetBufferParameteriv, nglGetBufferPointerv, nglGetBufferSubData, nglGetQueryiv, nglGetQueryObjectiv, nglGetQueryObjectuiv, nglMapBufferglBlendColor, glBlendEquation, glBlendFuncSeparate, glMultiDrawArrays, glMultiDrawArrays, glMultiDrawElements, glMultiDrawElements, glPointParameterf, glPointParameterfv, glPointParameterfv, glPointParameteri, glPointParameteriv, glPointParameteriv, nglMultiDrawArrays, nglMultiDrawElements, nglPointParameterfv, nglPointParameterivglActiveTexture, glCompressedTexImage1D, glCompressedTexImage1D, glCompressedTexImage2D, glCompressedTexImage2D, glCompressedTexImage3D, glCompressedTexImage3D, glCompressedTexSubImage1D, glCompressedTexSubImage1D, glCompressedTexSubImage2D, glCompressedTexSubImage2D, glCompressedTexSubImage3D, glCompressedTexSubImage3D, glGetCompressedTexImage, glGetCompressedTexImage, glSampleCoverage, nglCompressedTexImage1D, nglCompressedTexImage2D, nglCompressedTexImage3D, nglCompressedTexSubImage1D, nglCompressedTexSubImage2D, nglCompressedTexSubImage3D, nglGetCompressedTexImageglCopyTexSubImage3D, glDrawRangeElements, glDrawRangeElements, glDrawRangeElements, glDrawRangeElements, glDrawRangeElements, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, glTexSubImage3D, nglDrawRangeElements, nglTexImage3D, nglTexSubImage3DglBindTexture, glBlendFunc, glClear, glClearColor, glClearDepth, glClearStencil, glColorMask, glCopyTexImage1D, glCopyTexImage2D, glCopyTexSubImage1D, glCopyTexSubImage2D, glCullFace, glDeleteTextures, glDeleteTextures, glDeleteTextures, glDepthFunc, glDepthMask, glDepthRange, glDisable, glDrawArrays, glDrawBuffer, glDrawElements, glDrawElements, glDrawElements, glDrawElements, glDrawElements, glEnable, glFinish, glFlush, glFrontFace, glGenTextures, glGenTextures, glGenTextures, glGetBoolean, glGetBooleanv, glGetDouble, glGetDoublev, glGetDoublev, glGetError, glGetFloat, glGetFloatv, glGetFloatv, glGetInteger, glGetIntegerv, glGetIntegerv, glGetPointer, glGetPointerv, glGetString, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexImage, glGetTexLevelParameterf, glGetTexLevelParameterfv, glGetTexLevelParameterfv, glGetTexLevelParameteri, glGetTexLevelParameteriv, glGetTexLevelParameteriv, glGetTexParameterf, glGetTexParameterfv, glGetTexParameterfv, glGetTexParameteri, glGetTexParameteriv, glGetTexParameteriv, glHint, glIsEnabled, glIsTexture, glLineWidth, glLogicOp, glPixelStoref, glPixelStorei, glPointSize, glPolygonMode, glPolygonOffset, glReadBuffer, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glReadPixels, glScissor, glStencilFunc, glStencilMask, glStencilOp, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage1D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexImage2D, glTexParameterf, glTexParameterfv, glTexParameterfv, glTexParameteri, glTexParameteriv, glTexParameteriv, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage1D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glTexSubImage2D, glViewport, nglDeleteTextures, nglDrawElements, nglGenTextures, nglGetBooleanv, nglGetDoublev, nglGetFloatv, nglGetIntegerv, nglGetPointerv, nglGetString, nglGetTexImage, nglGetTexLevelParameterfv, nglGetTexLevelParameteriv, nglGetTexParameterfv, nglGetTexParameteriv, nglReadPixels, nglTexImage1D, nglTexImage2D, nglTexParameterfv, nglTexParameteriv, nglTexSubImage1D, nglTexSubImage2Dpublic static final int GL_SHADING_LANGUAGE_VERSION
name parameter of GetString.public static final int GL_CURRENT_PROGRAM
pname parameter of GetInteger.public static final int GL_SHADER_TYPE
pname parameter of GetShaderiv.public static final int GL_DELETE_STATUS
pname parameter of GetShaderiv.public static final int GL_COMPILE_STATUS
pname parameter of GetShaderiv.public static final int GL_LINK_STATUS
pname parameter of GetShaderiv.public static final int GL_VALIDATE_STATUS
pname parameter of GetShaderiv.public static final int GL_INFO_LOG_LENGTH
pname parameter of GetShaderiv.public static final int GL_ATTACHED_SHADERS
pname parameter of GetShaderiv.public static final int GL_ACTIVE_UNIFORMS
pname parameter of GetShaderiv.public static final int GL_ACTIVE_UNIFORM_MAX_LENGTH
pname parameter of GetShaderiv.public static final int GL_ACTIVE_ATTRIBUTES
pname parameter of GetShaderiv.public static final int GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
pname parameter of GetShaderiv.public static final int GL_SHADER_SOURCE_LENGTH
pname parameter of GetShaderiv.public static final int GL_FLOAT_VEC2
type parameter of GetActiveUniform.public static final int GL_FLOAT_VEC3
type parameter of GetActiveUniform.public static final int GL_FLOAT_VEC4
type parameter of GetActiveUniform.public static final int GL_INT_VEC2
type parameter of GetActiveUniform.public static final int GL_INT_VEC3
type parameter of GetActiveUniform.public static final int GL_INT_VEC4
type parameter of GetActiveUniform.public static final int GL_BOOL
type parameter of GetActiveUniform.public static final int GL_BOOL_VEC2
type parameter of GetActiveUniform.public static final int GL_BOOL_VEC3
type parameter of GetActiveUniform.public static final int GL_BOOL_VEC4
type parameter of GetActiveUniform.public static final int GL_FLOAT_MAT2
type parameter of GetActiveUniform.public static final int GL_FLOAT_MAT3
type parameter of GetActiveUniform.public static final int GL_FLOAT_MAT4
type parameter of GetActiveUniform.public static final int GL_SAMPLER_1D
type parameter of GetActiveUniform.public static final int GL_SAMPLER_2D
type parameter of GetActiveUniform.public static final int GL_SAMPLER_3D
type parameter of GetActiveUniform.public static final int GL_SAMPLER_CUBE
type parameter of GetActiveUniform.public static final int GL_SAMPLER_1D_SHADOW
type parameter of GetActiveUniform.public static final int GL_SAMPLER_2D_SHADOW
type parameter of GetActiveUniform.public static final int GL_VERTEX_SHADER
type argument of CreateShader and returned by the params parameter of GetShaderiv.public static final int GL_MAX_VERTEX_UNIFORM_COMPONENTS
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_MAX_VARYING_FLOATS
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_MAX_VERTEX_ATTRIBS
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_MAX_TEXTURE_IMAGE_UNITS
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_VERTEX_PROGRAM_POINT_SIZE
cap parameter of Disable, Enable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and
GetDoublev.public static final int GL_VERTEX_ATTRIB_ARRAY_ENABLED
pname parameter of GetVertexAttrib{dfi}v.public static final int GL_VERTEX_ATTRIB_ARRAY_SIZE
pname parameter of GetVertexAttrib{dfi}v.public static final int GL_VERTEX_ATTRIB_ARRAY_STRIDE
pname parameter of GetVertexAttrib{dfi}v.public static final int GL_VERTEX_ATTRIB_ARRAY_TYPE
pname parameter of GetVertexAttrib{dfi}v.public static final int GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
pname parameter of GetVertexAttrib{dfi}v.public static final int GL_CURRENT_VERTEX_ATTRIB
pname parameter of GetVertexAttrib{dfi}v.public static final int GL_VERTEX_ATTRIB_ARRAY_POINTER
pname parameter of GetVertexAttribPointerv.public static final int GL_FRAGMENT_SHADER
type argument of CreateShader and returned by the params parameter of GetShaderiv.public static final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT
target parameter of Hint and the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_MAX_DRAW_BUFFERS
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER0
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER1
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER2
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER3
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER4
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER5
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER6
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER7
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER8
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER9
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER10
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER11
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER12
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER13
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER14
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER15
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_POINT_SPRITE_COORD_ORIGIN
pname parameter of PointParameter{if}v.public static final int GL_LOWER_LEFT
param parameter of PointParameter{if}v.public static final int GL_UPPER_LEFT
param parameter of PointParameter{if}v.public static final int GL_BLEND_EQUATION_RGB
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_BLEND_EQUATION_ALPHA
pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_STENCIL_BACK_FUNC
pname parameter of GetIntegerv.public static final int GL_STENCIL_BACK_FAIL
pname parameter of GetIntegerv.public static final int GL_STENCIL_BACK_PASS_DEPTH_FAIL
pname parameter of GetIntegerv.public static final int GL_STENCIL_BACK_PASS_DEPTH_PASS
pname parameter of GetIntegerv.public static final int GL_STENCIL_BACK_REF
pname parameter of GetIntegerv.public static final int GL_STENCIL_BACK_VALUE_MASK
pname parameter of GetIntegerv.public static final int GL_STENCIL_BACK_WRITEMASK
pname parameter of GetIntegerv.public static int glCreateProgram()
public static void glDeleteProgram(int program)
program - the program object to be deletedpublic static boolean glIsProgram(int program)
TRUE if program is the name of a program object. If program is zero, or a non-zero value that is not the name of a program
object, IsProgram returns FALSE. No error is generated if program is not a valid program object name.program - the program object name to querypublic static int glCreateShader(int type)
type - the type of shader to be created. One of:VERTEX_SHADER | FRAGMENT_SHADER | GEOMETRY_SHADER | TESS_CONTROL_SHADER |
TESS_EVALUATION_SHADER |
public static void glDeleteShader(int shader)
shader - the shader object to be deletedpublic static boolean glIsShader(int shader)
TRUE if shader is the name of a shader object. If shader is zero, or a nonzero value that is not the name of a shader
object, IsShader returns FALSE. No error is generated if shader is not a valid shader object name.shader - the shader object name to querypublic static void glAttachShader(int program,
int shader)
In order to create a complete shader program, there must be a way to specify the list of things that will be linked together. Program objects provide this mechanism. Shaders that are to be linked together in a program object must first be attached to that program object. glAttachShader attaches the shader object specified by shader to the program object specified by program. This indicates that shader will be included in link operations that will be performed on program.
All operations that can be performed on a shader object are valid whether or not the shader object is attached to a program object. It is permissible to attach a shader object to a program object before source code has been loaded into the shader object or before the shader object has been compiled. It is permissible to attach multiple shader objects of the same type because each may contain a portion of the complete shader. It is also permissible to attach a shader object to more than one program object. If a shader object is deleted while it is attached to a program object, it will be flagged for deletion, and deletion will not occur until glDetachShader is called to detach it from all program objects to which it is attached.
program - the program object to which a shader object will be attachedshader - the shader object that is to be attachedpublic static void glDetachShader(int program,
int shader)
program - the program object from which to detach the shader objectshader - the shader object to be detachedpublic static void nglShaderSource(int shader,
int count,
long strings,
long length)
ShaderSourcecount - the number of elements in the string and length arrayspublic static void glShaderSource(int shader,
org.lwjgl.PointerBuffer strings,
@Nullable
java.nio.IntBuffer length)
shader to the source code in the array of strings specified by strings. Any source code previously stored in the
shader object is completely replaced. The number of strings in the array is specified by count. If length is NULL, each string is
assumed to be null terminated. If length is a value other than NULL, it points to an array containing a string length for each of the
corresponding elements of strings. Each element in the length array may contain the length of the corresponding string (the null character is not
counted as part of the string length) or a value less than 0 to indicate that the string is null terminated. The source code strings are not scanned or
parsed at this time; they are simply copied into the specified shader object.shader - the shader object whose source code is to be replacedstrings - an array of pointers to strings containing the source code to be loaded into the shaderlength - an array of string lengthspublic static void glShaderSource(int shader,
java.lang.CharSequence... strings)
shader to the source code in the array of strings specified by strings. Any source code previously stored in the
shader object is completely replaced. The number of strings in the array is specified by count. If length is NULL, each string is
assumed to be null terminated. If length is a value other than NULL, it points to an array containing a string length for each of the
corresponding elements of strings. Each element in the length array may contain the length of the corresponding string (the null character is not
counted as part of the string length) or a value less than 0 to indicate that the string is null terminated. The source code strings are not scanned or
parsed at this time; they are simply copied into the specified shader object.shader - the shader object whose source code is to be replacedstrings - an array of pointers to strings containing the source code to be loaded into the shaderpublic static void glShaderSource(int shader,
java.lang.CharSequence string)
shader to the source code in the array of strings specified by strings. Any source code previously stored in the
shader object is completely replaced. The number of strings in the array is specified by count. If length is NULL, each string is
assumed to be null terminated. If length is a value other than NULL, it points to an array containing a string length for each of the
corresponding elements of strings. Each element in the length array may contain the length of the corresponding string (the null character is not
counted as part of the string length) or a value less than 0 to indicate that the string is null terminated. The source code strings are not scanned or
parsed at this time; they are simply copied into the specified shader object.shader - the shader object whose source code is to be replacedpublic static void glCompileShader(int shader)
shader - the shader object to be compiledpublic static void glLinkProgram(int program)
program - the program object to be linkedpublic static void glUseProgram(int program)
program - the program object whose executables are to be used as part of current rendering statepublic static void glValidateProgram(int program)
program - the program object to be validatedpublic static void glUniform1f(int location,
float v0)
location - the location of the uniform variable to be modifiedv0 - the uniform valuepublic static void glUniform2f(int location,
float v0,
float v1)
location - the location of the uniform variable to be modifiedv0 - the uniform x valuev1 - the uniform y valuepublic static void glUniform3f(int location,
float v0,
float v1,
float v2)
location - the location of the uniform variable to be modifiedv0 - the uniform x valuev1 - the uniform y valuev2 - the uniform z valuepublic static void glUniform4f(int location,
float v0,
float v1,
float v2,
float v3)
location - the location of the uniform variable to be modifiedv0 - the uniform x valuev1 - the uniform y valuev2 - the uniform z valuev3 - the uniform w valuepublic static void glUniform1i(int location,
int v0)
location - the location of the uniform variable to be modifiedv0 - the uniform valuepublic static void glUniform2i(int location,
int v0,
int v1)
location - the location of the uniform variable to be modifiedv0 - the uniform x valuev1 - the uniform y valuepublic static void glUniform3i(int location,
int v0,
int v1,
int v2)
location - the location of the uniform variable to be modifiedv0 - the uniform x valuev1 - the uniform y valuev2 - the uniform z valuepublic static void glUniform4i(int location,
int v0,
int v1,
int v2,
int v3)
location - the location of the uniform variable to be modifiedv0 - the uniform x valuev1 - the uniform y valuev2 - the uniform z valuev3 - the uniform w valuepublic static void nglUniform1fv(int location,
int count,
long value)
Uniform1fvcount - the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.public static void glUniform1fv(int location,
java.nio.FloatBuffer value)
location - the location of the uniform variable to be modifiedvalue - a pointer to an array of count values that will be used to update the specified uniform variablepublic static void nglUniform2fv(int location,
int count,
long value)
Uniform2fvcount - the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.public static void glUniform2fv(int location,
java.nio.FloatBuffer value)
location - the location of the uniform variable to be modifiedvalue - a pointer to an array of count values that will be used to update the specified uniform variablepublic static void nglUniform3fv(int location,
int count,
long value)
Uniform3fvcount - the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.public static void glUniform3fv(int location,
java.nio.FloatBuffer value)
location - the location of the uniform variable to be modifiedvalue - a pointer to an array of count values that will be used to update the specified uniform variablepublic static void nglUniform4fv(int location,
int count,
long value)
Uniform4fvcount - the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.public static void glUniform4fv(int location,
java.nio.FloatBuffer value)
location - the location of the uniform variable to be modifiedvalue - a pointer to an array of count values that will be used to update the specified uniform variablepublic static void nglUniform1iv(int location,
int count,
long value)
Uniform1ivcount - the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.public static void glUniform1iv(int location,
java.nio.IntBuffer value)
location - the location of the uniform variable to be modifiedvalue - a pointer to an array of count values that will be used to update the specified uniform variablepublic static void nglUniform2iv(int location,
int count,
long value)
Uniform2ivcount - the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.public static void glUniform2iv(int location,
java.nio.IntBuffer value)
location - the location of the uniform variable to be modifiedvalue - a pointer to an array of count values that will be used to update the specified uniform variablepublic static void nglUniform3iv(int location,
int count,
long value)
Uniform3ivcount - the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.public static void glUniform3iv(int location,
java.nio.IntBuffer value)
location - the location of the uniform variable to be modifiedvalue - a pointer to an array of count values that will be used to update the specified uniform variablepublic static void nglUniform4iv(int location,
int count,
long value)
Uniform4ivcount - the number of elements that are to be modified. This should be 1 if the targeted uniform variable is not an array, and 1 or more if it is an array.public static void glUniform4iv(int location,
java.nio.IntBuffer value)
location - the location of the uniform variable to be modifiedvalue - a pointer to an array of count values that will be used to update the specified uniform variablepublic static void nglUniformMatrix2fv(int location,
int count,
boolean transpose,
long value)
UniformMatrix2fvcount - the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.public static void glUniformMatrix2fv(int location,
boolean transpose,
java.nio.FloatBuffer value)
location - the location of the uniform variable to be modifiedtranspose - whether to transpose the matrix as the values are loaded into the uniform variablevalue - a pointer to an array of count values that will be used to update the specified uniform variablepublic static void nglUniformMatrix3fv(int location,
int count,
boolean transpose,
long value)
UniformMatrix3fvcount - the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.public static void glUniformMatrix3fv(int location,
boolean transpose,
java.nio.FloatBuffer value)
location - the location of the uniform variable to be modifiedtranspose - whether to transpose the matrix as the values are loaded into the uniform variablevalue - a pointer to an array of count values that will be used to update the specified uniform variablepublic static void nglUniformMatrix4fv(int location,
int count,
boolean transpose,
long value)
UniformMatrix4fvcount - the number of matrices that are to be modified. This should be 1 if the targeted uniform variable is not an array of matrices, and 1 or more if it is an array of matrices.public static void glUniformMatrix4fv(int location,
boolean transpose,
java.nio.FloatBuffer value)
location - the location of the uniform variable to be modifiedtranspose - whether to transpose the matrix as the values are loaded into the uniform variablevalue - a pointer to an array of count values that will be used to update the specified uniform variablepublic static void nglGetShaderiv(int shader,
int pname,
long params)
GetShaderivpublic static void glGetShaderiv(int shader,
int pname,
java.nio.IntBuffer params)
shader - the shader object to be queriedpname - the object parameter. One of:SHADER_TYPE | DELETE_STATUS | COMPILE_STATUS | INFO_LOG_LENGTH | SHADER_SOURCE_LENGTH |
params - the requested object parameterpublic static int glGetShaderi(int shader,
int pname)
shader - the shader object to be queriedpname - the object parameter. One of:SHADER_TYPE | DELETE_STATUS | COMPILE_STATUS | INFO_LOG_LENGTH | SHADER_SOURCE_LENGTH |
public static void nglGetProgramiv(int program,
int pname,
long params)
GetProgramivpublic static void glGetProgramiv(int program,
int pname,
java.nio.IntBuffer params)
program - the program object to be queriedpname - the object parameter. One of:params - the requested object parameterpublic static int glGetProgrami(int program,
int pname)
program - the program object to be queriedpname - the object parameter. One of:public static void nglGetShaderInfoLog(int shader,
int maxLength,
long length,
long infoLog)
GetShaderInfoLogmaxLength - the size of the character buffer for storing the returned information logpublic static void glGetShaderInfoLog(int shader,
@Nullable
java.nio.IntBuffer length,
java.nio.ByteBuffer infoLog)
shader - the shader object whose information log is to be queriedlength - the length of the string returned in infoLog (excluding the null terminator)infoLog - an array of characters that is used to return the information logpublic static java.lang.String glGetShaderInfoLog(int shader,
int maxLength)
shader - the shader object whose information log is to be queriedmaxLength - the size of the character buffer for storing the returned information logpublic static java.lang.String glGetShaderInfoLog(int shader)
shader - the shader object whose information log is to be queriedpublic static void nglGetProgramInfoLog(int program,
int maxLength,
long length,
long infoLog)
GetProgramInfoLogmaxLength - the size of the character buffer for storing the returned information logpublic static void glGetProgramInfoLog(int program,
@Nullable
java.nio.IntBuffer length,
java.nio.ByteBuffer infoLog)
program - the program object whose information log is to be queriedlength - the length of the string returned in infoLog (excluding the null terminator)infoLog - an array of characters that is used to return the information logpublic static java.lang.String glGetProgramInfoLog(int program,
int maxLength)
program - the program object whose information log is to be queriedmaxLength - the size of the character buffer for storing the returned information logpublic static java.lang.String glGetProgramInfoLog(int program)
program - the program object whose information log is to be queriedpublic static void nglGetAttachedShaders(int program,
int maxCount,
long count,
long shaders)
GetAttachedShadersmaxCount - the size of the array for storing the returned object namespublic static void glGetAttachedShaders(int program,
@Nullable
java.nio.IntBuffer count,
java.nio.IntBuffer shaders)
program - the program object to be queriedcount - the number of names actually returned in shadersshaders - an array that is used to return the names of attached shader objectspublic static int nglGetUniformLocation(int program,
long name)
GetUniformLocationpublic static int glGetUniformLocation(int program,
java.nio.ByteBuffer name)
program - the program object to be queriedname - a null terminated string containing the name of the uniform variable whose location is to be queriedpublic static int glGetUniformLocation(int program,
java.lang.CharSequence name)
program - the program object to be queriedname - a null terminated string containing the name of the uniform variable whose location is to be queriedpublic static void nglGetActiveUniform(int program,
int index,
int maxLength,
long length,
long size,
long type,
long name)
GetActiveUniformmaxLength - the maximum number of characters OpenGL is allowed to write in the character buffer indicated by namepublic static void glGetActiveUniform(int program,
int index,
@Nullable
java.nio.IntBuffer length,
java.nio.IntBuffer size,
java.nio.IntBuffer type,
java.nio.ByteBuffer name)
program - the program object to be queriedindex - the index of the uniform variable to be queriedlength - the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than NULL is passedsize - the size of the uniform variabletype - the data type of the uniform variablename - a null terminated string containing the name of the uniform variablepublic static java.lang.String glGetActiveUniform(int program,
int index,
int maxLength,
java.nio.IntBuffer size,
java.nio.IntBuffer type)
program - the program object to be queriedindex - the index of the uniform variable to be queriedmaxLength - the maximum number of characters OpenGL is allowed to write in the character buffer indicated by namesize - the size of the uniform variabletype - the data type of the uniform variablepublic static java.lang.String glGetActiveUniform(int program,
int index,
java.nio.IntBuffer size,
java.nio.IntBuffer type)
program - the program object to be queriedindex - the index of the uniform variable to be queriedsize - the size of the uniform variabletype - the data type of the uniform variablepublic static void nglGetUniformfv(int program,
int location,
long params)
GetUniformfvpublic static void glGetUniformfv(int program,
int location,
java.nio.FloatBuffer params)
program - the program object to be queriedlocation - the location of the uniform variable to be queriedparams - the value of the specified uniform variablepublic static float glGetUniformf(int program,
int location)
program - the program object to be queriedlocation - the location of the uniform variable to be queriedpublic static void nglGetUniformiv(int program,
int location,
long params)
GetUniformivpublic static void glGetUniformiv(int program,
int location,
java.nio.IntBuffer params)
program - the program object to be queriedlocation - the location of the uniform variable to be queriedparams - the value of the specified uniform variablepublic static int glGetUniformi(int program,
int location)
program - the program object to be queriedlocation - the location of the uniform variable to be queriedpublic static void nglGetShaderSource(int shader,
int maxLength,
long length,
long source)
GetShaderSourcemaxLength - the size of the character buffer for storing the returned source code stringpublic static void glGetShaderSource(int shader,
@Nullable
java.nio.IntBuffer length,
java.nio.ByteBuffer source)
shader - the shader object to be queriedlength - the length of the string returned in source (excluding the null terminator)source - an array of characters that is used to return the source code stringpublic static java.lang.String glGetShaderSource(int shader,
int maxLength)
shader - the shader object to be queriedmaxLength - the size of the character buffer for storing the returned source code stringpublic static java.lang.String glGetShaderSource(int shader)
shader - the shader object to be queriedpublic static void glVertexAttrib1f(int index,
float v0)
index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentpublic static void glVertexAttrib1s(int index,
short v0)
VertexAttrib1f.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentpublic static void glVertexAttrib1d(int index,
double v0)
VertexAttrib1f.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentpublic static void glVertexAttrib2f(int index,
float v0,
float v1)
index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentpublic static void glVertexAttrib2s(int index,
short v0,
short v1)
VertexAttrib2f.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentpublic static void glVertexAttrib2d(int index,
double v0,
double v1)
VertexAttrib2f.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentpublic static void glVertexAttrib3f(int index,
float v0,
float v1,
float v2)
index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentv2 - the vertex attribute z componentpublic static void glVertexAttrib3s(int index,
short v0,
short v1,
short v2)
VertexAttrib3f.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentv2 - the vertex attribute z componentpublic static void glVertexAttrib3d(int index,
double v0,
double v1,
double v2)
VertexAttrib3f.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentv2 - the vertex attribute z componentpublic static void glVertexAttrib4f(int index,
float v0,
float v1,
float v2,
float v3)
index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentv2 - the vertex attribute z componentv3 - the vertex attribute w componentpublic static void glVertexAttrib4s(int index,
short v0,
short v1,
short v2,
short v3)
VertexAttrib4f.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentv2 - the vertex attribute z componentv3 - the vertex attribute w componentpublic static void glVertexAttrib4d(int index,
double v0,
double v1,
double v2,
double v3)
VertexAttrib4f.index - the index of the generic vertex attribute to be modifiedv0 - the vertex attribute x componentv1 - the vertex attribute y componentv2 - the vertex attribute z componentv3 - the vertex attribute w componentpublic static void glVertexAttrib4Nub(int index,
byte x,
byte y,
byte z,
byte w)
VertexAttrib4f.index - the index of the generic vertex attribute to be modifiedx - the vertex attribute x componenty - the vertex attribute y componentz - the vertex attribute z componentw - the vertex attribute w componentpublic static void nglVertexAttrib1fv(int index,
long v)
VertexAttrib1fvpublic static void glVertexAttrib1fv(int index,
java.nio.FloatBuffer v)
VertexAttrib1f.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib1sv(int index,
long v)
VertexAttrib1svpublic static void glVertexAttrib1sv(int index,
java.nio.ShortBuffer v)
VertexAttrib1s.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib1dv(int index,
long v)
VertexAttrib1dvpublic static void glVertexAttrib1dv(int index,
java.nio.DoubleBuffer v)
VertexAttrib1d.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib2fv(int index,
long v)
VertexAttrib2fvpublic static void glVertexAttrib2fv(int index,
java.nio.FloatBuffer v)
VertexAttrib2f.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib2sv(int index,
long v)
VertexAttrib2svpublic static void glVertexAttrib2sv(int index,
java.nio.ShortBuffer v)
VertexAttrib2s.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib2dv(int index,
long v)
VertexAttrib2dvpublic static void glVertexAttrib2dv(int index,
java.nio.DoubleBuffer v)
VertexAttrib2d.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib3fv(int index,
long v)
VertexAttrib3fvpublic static void glVertexAttrib3fv(int index,
java.nio.FloatBuffer v)
VertexAttrib3f.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib3sv(int index,
long v)
VertexAttrib3svpublic static void glVertexAttrib3sv(int index,
java.nio.ShortBuffer v)
VertexAttrib3s.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib3dv(int index,
long v)
VertexAttrib3dvpublic static void glVertexAttrib3dv(int index,
java.nio.DoubleBuffer v)
VertexAttrib3d.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4fv(int index,
long v)
VertexAttrib4fvpublic static void glVertexAttrib4fv(int index,
java.nio.FloatBuffer v)
VertexAttrib4f.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4sv(int index,
long v)
VertexAttrib4svpublic static void glVertexAttrib4sv(int index,
java.nio.ShortBuffer v)
VertexAttrib4s.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4dv(int index,
long v)
VertexAttrib4dvpublic static void glVertexAttrib4dv(int index,
java.nio.DoubleBuffer v)
VertexAttrib4d.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4iv(int index,
long v)
VertexAttrib4ivpublic static void glVertexAttrib4iv(int index,
java.nio.IntBuffer v)
VertexAttrib4f.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4bv(int index,
long v)
VertexAttrib4bvpublic static void glVertexAttrib4bv(int index,
java.nio.ByteBuffer v)
VertexAttrib4f.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4ubv(int index,
long v)
VertexAttrib4ubvpublic static void glVertexAttrib4ubv(int index,
java.nio.ByteBuffer v)
VertexAttrib4Nub.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4usv(int index,
long v)
VertexAttrib4usvpublic static void glVertexAttrib4usv(int index,
java.nio.ShortBuffer v)
VertexAttrib4f.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4uiv(int index,
long v)
VertexAttrib4uivpublic static void glVertexAttrib4uiv(int index,
java.nio.IntBuffer v)
VertexAttrib4f.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4Nbv(int index,
long v)
VertexAttrib4Nbvpublic static void glVertexAttrib4Nbv(int index,
java.nio.ByteBuffer v)
VertexAttrib4f.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4Nsv(int index,
long v)
VertexAttrib4Nsvpublic static void glVertexAttrib4Nsv(int index,
java.nio.ShortBuffer v)
VertexAttrib4f.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4Niv(int index,
long v)
VertexAttrib4Nivpublic static void glVertexAttrib4Niv(int index,
java.nio.IntBuffer v)
VertexAttrib4f.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4Nubv(int index,
long v)
VertexAttrib4Nubvpublic static void glVertexAttrib4Nubv(int index,
java.nio.ByteBuffer v)
VertexAttrib4f.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4Nusv(int index,
long v)
VertexAttrib4Nusvpublic static void glVertexAttrib4Nusv(int index,
java.nio.ShortBuffer v)
VertexAttrib4f.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttrib4Nuiv(int index,
long v)
VertexAttrib4Nuivpublic static void glVertexAttrib4Nuiv(int index,
java.nio.IntBuffer v)
VertexAttrib4f.index - the index of the generic vertex attribute to be modifiedv - the vertex attribute bufferpublic static void nglVertexAttribPointer(int index,
int size,
int type,
boolean normalized,
int stride,
long pointer)
VertexAttribPointerpublic static void glVertexAttribPointer(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.ByteBuffer pointer)
index - the index of the generic vertex attribute to be modifiedsize - the number of values per vertex that are stored in the array. The initial value is 4. One of:| 1 | 2 | 3 | 4 | BGRA |
type - the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT | FLOAT |
DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV | FIXED |
normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessedstride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in
the array. The initial value is 0.pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer
currently bound to the ARRAY_BUFFER target. The initial value is 0.public static void glVertexAttribPointer(int index,
int size,
int type,
boolean normalized,
int stride,
long pointer)
index - the index of the generic vertex attribute to be modifiedsize - the number of values per vertex that are stored in the array. The initial value is 4. One of:| 1 | 2 | 3 | 4 | BGRA |
type - the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT | FLOAT |
DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV | FIXED |
normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessedstride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in
the array. The initial value is 0.pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer
currently bound to the ARRAY_BUFFER target. The initial value is 0.public static void glVertexAttribPointer(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.ShortBuffer pointer)
index - the index of the generic vertex attribute to be modifiedsize - the number of values per vertex that are stored in the array. The initial value is 4. One of:| 1 | 2 | 3 | 4 | BGRA |
type - the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT | FLOAT |
DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV | FIXED |
normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessedstride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in
the array. The initial value is 0.pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer
currently bound to the ARRAY_BUFFER target. The initial value is 0.public static void glVertexAttribPointer(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.IntBuffer pointer)
index - the index of the generic vertex attribute to be modifiedsize - the number of values per vertex that are stored in the array. The initial value is 4. One of:| 1 | 2 | 3 | 4 | BGRA |
type - the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT | FLOAT |
DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV | FIXED |
normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessedstride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in
the array. The initial value is 0.pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer
currently bound to the ARRAY_BUFFER target. The initial value is 0.public static void glVertexAttribPointer(int index,
int size,
int type,
boolean normalized,
int stride,
java.nio.FloatBuffer pointer)
index - the index of the generic vertex attribute to be modifiedsize - the number of values per vertex that are stored in the array. The initial value is 4. One of:| 1 | 2 | 3 | 4 | BGRA |
type - the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTE | UNSIGNED_BYTE | SHORT | UNSIGNED_SHORT | INT | UNSIGNED_INT | HALF_FLOAT | FLOAT |
DOUBLE | UNSIGNED_INT_2_10_10_10_REV | INT_2_10_10_10_REV | FIXED |
normalized - whether fixed-point data values should be normalized or converted directly as fixed-point values when they are accessedstride - the byte offset between consecutive generic vertex attributes. If stride is 0, the generic vertex attributes are understood to be tightly packed in
the array. The initial value is 0.pointer - the vertex attribute data or the offset of the first component of the first generic vertex attribute in the array in the data store of the buffer
currently bound to the ARRAY_BUFFER target. The initial value is 0.public static void glEnableVertexAttribArray(int index)
index - the index of the generic vertex attribute to be enabledpublic static void glDisableVertexAttribArray(int index)
index - the index of the generic vertex attribute to be disabledpublic static void nglBindAttribLocation(int program,
int index,
long name)
BindAttribLocationpublic static void glBindAttribLocation(int program,
int index,
java.nio.ByteBuffer name)
program - the program object in which the association is to be madeindex - the index of the generic vertex attribute to be boundname - a null terminated string containing the name of the vertex shader attribute variable to which index is to be boundpublic static void glBindAttribLocation(int program,
int index,
java.lang.CharSequence name)
program - the program object in which the association is to be madeindex - the index of the generic vertex attribute to be boundname - a null terminated string containing the name of the vertex shader attribute variable to which index is to be boundpublic static void nglGetActiveAttrib(int program,
int index,
int maxLength,
long length,
long size,
long type,
long name)
GetActiveAttribmaxLength - the maximum number of characters OpenGL is allowed to write in the character buffer indicated by namepublic static void glGetActiveAttrib(int program,
int index,
@Nullable
java.nio.IntBuffer length,
java.nio.IntBuffer size,
java.nio.IntBuffer type,
java.nio.ByteBuffer name)
program - the program object to be queriedindex - the index of the attribute variable to be queriedlength - the number of characters actually written by OpenGL in the string indicated by name (excluding the null terminator) if a value other than
NULL is passedsize - the size of the attribute variabletype - the data type of the attribute variablename - a null terminated string containing the name of the attribute variablepublic static java.lang.String glGetActiveAttrib(int program,
int index,
int maxLength,
java.nio.IntBuffer size,
java.nio.IntBuffer type)
program - the program object to be queriedindex - the index of the attribute variable to be queriedmaxLength - the maximum number of characters OpenGL is allowed to write in the character buffer indicated by namesize - the size of the attribute variabletype - the data type of the attribute variablepublic static java.lang.String glGetActiveAttrib(int program,
int index,
java.nio.IntBuffer size,
java.nio.IntBuffer type)
program - the program object to be queriedindex - the index of the attribute variable to be queriedsize - the size of the attribute variabletype - the data type of the attribute variablepublic static int nglGetAttribLocation(int program,
long name)
GetAttribLocationpublic static int glGetAttribLocation(int program,
java.nio.ByteBuffer name)
program - the program object to be queriedname - a null terminated string containing the name of the attribute variable whose location is to be queriedpublic static int glGetAttribLocation(int program,
java.lang.CharSequence name)
program - the program object to be queriedname - a null terminated string containing the name of the attribute variable whose location is to be queriedpublic static void nglGetVertexAttribiv(int index,
int pname,
long params)
GetVertexAttribivpublic static void glGetVertexAttribiv(int index,
int pname,
java.nio.IntBuffer params)
index - the generic vertex attribute parameter to be queriedpname - the symbolic name of the vertex attribute parameter to be queried. One of:params - returns the requested datapublic static int glGetVertexAttribi(int index,
int pname)
index - the generic vertex attribute parameter to be queriedpname - the symbolic name of the vertex attribute parameter to be queried. One of:public static void nglGetVertexAttribfv(int index,
int pname,
long params)
GetVertexAttribfvpublic static void glGetVertexAttribfv(int index,
int pname,
java.nio.FloatBuffer params)
GetVertexAttribiv.index - the generic vertex attribute parameter to be queriedpname - the symbolic name of the vertex attribute parameter to be queriedparams - returns the requested datapublic static void nglGetVertexAttribdv(int index,
int pname,
long params)
GetVertexAttribdvpublic static void glGetVertexAttribdv(int index,
int pname,
java.nio.DoubleBuffer params)
GetVertexAttribiv.index - the generic vertex attribute parameter to be queriedpname - the symbolic name of the vertex attribute parameter to be queriedparams - returns the requested datapublic static void nglGetVertexAttribPointerv(int index,
int pname,
long pointer)
GetVertexAttribPointervpublic static void glGetVertexAttribPointerv(int index,
int pname,
org.lwjgl.PointerBuffer pointer)
index - the generic vertex attribute parameter to be queriedpname - the symbolic name of the generic vertex attribute parameter to be returned. Must be:VERTEX_ATTRIB_ARRAY_POINTER |
pointer - the pointer valuepublic static long glGetVertexAttribPointer(int index,
int pname)
index - the generic vertex attribute parameter to be queriedpname - the symbolic name of the generic vertex attribute parameter to be returned. Must be:VERTEX_ATTRIB_ARRAY_POINTER |
public static void nglDrawBuffers(int n,
long bufs)
DrawBuffersn - the number of buffers in bufspublic static void glDrawBuffers(java.nio.IntBuffer bufs)
bufs - an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. One of:NONE | FRONT_LEFT | FRONT_RIGHT | BACK_LEFT | BACK_RIGHT | COLOR_ATTACHMENT0 |
| GL30.GL_COLOR_ATTACHMENT[1-15] |
public static void glDrawBuffers(int buf)
public static void glBlendEquationSeparate(int modeRGB,
int modeAlpha)
modeRGB - the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. One of:FUNC_ADD | FUNC_SUBTRACT | FUNC_REVERSE_SUBTRACT | MIN | MAX |
modeAlpha - the alpha blend equation, how the alpha component of the source and destination colors are combinedpublic static void glStencilOpSeparate(int face,
int sfail,
int dpfail,
int dppass)
face - whether front and/or back stencil state is updated. One of:FRONT | BACK | FRONT_AND_BACK |
sfail - the action to take when the stencil test fails. The initial value is GL_KEEP. One of:KEEP | ZERO | REPLACE | INCR | INCR_WRAP | DECR | DECR_WRAP | INVERT |
dpfail - the stencil action when the stencil test passes, but the depth test fails. The initial value is GL_KEEPdppass - the stencil action when both the stencil test and the depth test pass, or when the stencil test passes and either there is no depth buffer or depth
testing is not enabled. The initial value is GL_KEEPpublic static void glStencilFuncSeparate(int face,
int func,
int ref,
int mask)
face - whether front and/or back stencil state is updated. One of:FRONT | BACK | FRONT_AND_BACK |
func - the test function. The initial value is GL_ALWAYS. One of:NEVER | LESS | LEQUAL | GREATER | GEQUAL | EQUAL | NOTEQUAL | ALWAYS |
ref - the reference value for the stencil test. ref is clamped to the range [0, 2n – 1], where n is the number of bitplanes in the stencil
buffer. The initial value is 0.mask - a mask that is ANDed with both the reference value and the stored stencil value when the test is done. The initial value is all 1's.public static void glStencilMaskSeparate(int face,
int mask)
face - whether front and/or back stencil writemask is updated. One of:FRONT | BACK | FRONT_AND_BACK |
mask - a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.public static void glShaderSource(int shader,
org.lwjgl.PointerBuffer strings,
@Nullable
int[] length)
ShaderSourcepublic static void glUniform1fv(int location,
float[] value)
Uniform1fvpublic static void glUniform2fv(int location,
float[] value)
Uniform2fvpublic static void glUniform3fv(int location,
float[] value)
Uniform3fvpublic static void glUniform4fv(int location,
float[] value)
Uniform4fvpublic static void glUniform1iv(int location,
int[] value)
Uniform1ivpublic static void glUniform2iv(int location,
int[] value)
Uniform2ivpublic static void glUniform3iv(int location,
int[] value)
Uniform3ivpublic static void glUniform4iv(int location,
int[] value)
Uniform4ivpublic static void glUniformMatrix2fv(int location,
boolean transpose,
float[] value)
UniformMatrix2fvpublic static void glUniformMatrix3fv(int location,
boolean transpose,
float[] value)
UniformMatrix3fvpublic static void glUniformMatrix4fv(int location,
boolean transpose,
float[] value)
UniformMatrix4fvpublic static void glGetShaderiv(int shader,
int pname,
int[] params)
GetShaderivpublic static void glGetProgramiv(int program,
int pname,
int[] params)
GetProgramivpublic static void glGetShaderInfoLog(int shader,
@Nullable
int[] length,
java.nio.ByteBuffer infoLog)
GetShaderInfoLogpublic static void glGetProgramInfoLog(int program,
@Nullable
int[] length,
java.nio.ByteBuffer infoLog)
GetProgramInfoLogpublic static void glGetAttachedShaders(int program,
@Nullable
int[] count,
int[] shaders)
GetAttachedShaderspublic static void glGetActiveUniform(int program,
int index,
@Nullable
int[] length,
int[] size,
int[] type,
java.nio.ByteBuffer name)
GetActiveUniformpublic static void glGetUniformfv(int program,
int location,
float[] params)
GetUniformfvpublic static void glGetUniformiv(int program,
int location,
int[] params)
GetUniformivpublic static void glGetShaderSource(int shader,
@Nullable
int[] length,
java.nio.ByteBuffer source)
GetShaderSourcepublic static void glVertexAttrib1fv(int index,
float[] v)
VertexAttrib1fvpublic static void glVertexAttrib1sv(int index,
short[] v)
VertexAttrib1svpublic static void glVertexAttrib1dv(int index,
double[] v)
VertexAttrib1dvpublic static void glVertexAttrib2fv(int index,
float[] v)
VertexAttrib2fvpublic static void glVertexAttrib2sv(int index,
short[] v)
VertexAttrib2svpublic static void glVertexAttrib2dv(int index,
double[] v)
VertexAttrib2dvpublic static void glVertexAttrib3fv(int index,
float[] v)
VertexAttrib3fvpublic static void glVertexAttrib3sv(int index,
short[] v)
VertexAttrib3svpublic static void glVertexAttrib3dv(int index,
double[] v)
VertexAttrib3dvpublic static void glVertexAttrib4fv(int index,
float[] v)
VertexAttrib4fvpublic static void glVertexAttrib4sv(int index,
short[] v)
VertexAttrib4svpublic static void glVertexAttrib4dv(int index,
double[] v)
VertexAttrib4dvpublic static void glVertexAttrib4iv(int index,
int[] v)
VertexAttrib4ivpublic static void glVertexAttrib4usv(int index,
short[] v)
VertexAttrib4usvpublic static void glVertexAttrib4uiv(int index,
int[] v)
VertexAttrib4uivpublic static void glVertexAttrib4Nsv(int index,
short[] v)
VertexAttrib4Nsvpublic static void glVertexAttrib4Niv(int index,
int[] v)
VertexAttrib4Nivpublic static void glVertexAttrib4Nusv(int index,
short[] v)
VertexAttrib4Nusvpublic static void glVertexAttrib4Nuiv(int index,
int[] v)
VertexAttrib4Nuivpublic static void glGetActiveAttrib(int program,
int index,
@Nullable
int[] length,
int[] size,
int[] type,
java.nio.ByteBuffer name)
GetActiveAttribpublic static void glGetVertexAttribiv(int index,
int pname,
int[] params)
GetVertexAttribivpublic static void glGetVertexAttribfv(int index,
int pname,
float[] params)
GetVertexAttribfvpublic static void glGetVertexAttribdv(int index,
int pname,
double[] params)
GetVertexAttribdvpublic static void glDrawBuffers(int[] bufs)
DrawBuffersCopyright LWJGL. All Rights Reserved. License terms.