Class GL20C
- java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intGL_ACTIVE_ATTRIBUTE_MAX_LENGTH
GL_ACTIVE_ATTRIBUTES
GL_ACTIVE_UNIFORM_MAX_LENGTH
GL_ACTIVE_UNIFORMS
GL_ATTACHED_SHADERSAccepted by thepnameparameter of GetShaderiv.static intGL_BLEND_EQUATION_ALPHA
GL_BLEND_EQUATION_RGBAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_BOOL
GL_BOOL_VEC2
GL_BOOL_VEC3
GL_BOOL_VEC4Returned by thetypeparameter of GetActiveUniform.static intGL_COMPILE_STATUSAccepted by thepnameparameter of GetShaderiv.static intGL_CURRENT_PROGRAMAccepted by thepnameparameter of GetInteger.static intGL_CURRENT_VERTEX_ATTRIBAccepted by thepnameparameter of GetVertexAttrib{dfi}v.static intGL_DELETE_STATUSAccepted by thepnameparameter of GetShaderiv.static intGL_DRAW_BUFFER0
GL_DRAW_BUFFER1
GL_DRAW_BUFFER10
GL_DRAW_BUFFER11
GL_DRAW_BUFFER12
GL_DRAW_BUFFER13
GL_DRAW_BUFFER14
GL_DRAW_BUFFER15
GL_DRAW_BUFFER2
GL_DRAW_BUFFER3
GL_DRAW_BUFFER4
GL_DRAW_BUFFER5
GL_DRAW_BUFFER6
GL_DRAW_BUFFER7
GL_DRAW_BUFFER8
GL_DRAW_BUFFER9Accepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static intGL_FLOAT_MAT2
GL_FLOAT_MAT3
GL_FLOAT_MAT4
GL_FLOAT_VEC2
GL_FLOAT_VEC3
GL_FLOAT_VEC4Returned by thetypeparameter of GetActiveUniform.static intGL_FRAGMENT_SHADERAccepted by thetypeargument of CreateShader and returned by theparamsparameter of GetShaderiv.static intGL_FRAGMENT_SHADER_DERIVATIVE_HINTAccepted by thetargetparameter of Hint and thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_INFO_LOG_LENGTHAccepted by thepnameparameter of GetShaderiv.static intGL_INT_VEC2
GL_INT_VEC3
GL_INT_VEC4Returned by thetypeparameter of GetActiveUniform.static intGL_LINK_STATUSAccepted by thepnameparameter of GetShaderiv.static intGL_LOWER_LEFTAccepted by theparamparameter of PointParameter{if}v.static intGL_MAX_COMBINED_TEXTURE_IMAGE_UNITSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_MAX_DRAW_BUFFERSAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static intGL_MAX_FRAGMENT_UNIFORM_COMPONENTS
GL_MAX_TEXTURE_IMAGE_UNITS
GL_MAX_VARYING_FLOATS
GL_MAX_VERTEX_ATTRIBS
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
GL_MAX_VERTEX_UNIFORM_COMPONENTSAccepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_POINT_SPRITE_COORD_ORIGINAccepted by thepnameparameter of PointParameter{if}v.static intGL_SAMPLER_1D
GL_SAMPLER_1D_SHADOW
GL_SAMPLER_2D
GL_SAMPLER_2D_SHADOW
GL_SAMPLER_3D
GL_SAMPLER_CUBEReturned by thetypeparameter of GetActiveUniform.static intGL_SHADER_SOURCE_LENGTH
GL_SHADER_TYPEAccepted by thepnameparameter of GetShaderiv.static intGL_SHADING_LANGUAGE_VERSIONAccepted by thenameparameter of GetString.static intGL_STENCIL_BACK_FAIL
GL_STENCIL_BACK_FUNC
GL_STENCIL_BACK_PASS_DEPTH_FAIL
GL_STENCIL_BACK_PASS_DEPTH_PASS
GL_STENCIL_BACK_REF
GL_STENCIL_BACK_VALUE_MASK
GL_STENCIL_BACK_WRITEMASKAccepted by thepnameparameter of GetIntegerv.static intGL_UPPER_LEFTAccepted by theparamparameter of PointParameter{if}v.static intGL_VALIDATE_STATUSAccepted by thepnameparameter of GetShaderiv.static intGL_VERTEX_ATTRIB_ARRAY_ENABLED
GL_VERTEX_ATTRIB_ARRAY_NORMALIZEDAccepted by thepnameparameter of GetVertexAttrib{dfi}v.static intGL_VERTEX_ATTRIB_ARRAY_POINTERAccepted by thepnameparameter of GetVertexAttribPointerv.static intGL_VERTEX_ATTRIB_ARRAY_SIZE
GL_VERTEX_ATTRIB_ARRAY_STRIDE
GL_VERTEX_ATTRIB_ARRAY_TYPEAccepted by thepnameparameter of GetVertexAttrib{dfi}v.static intGL_VERTEX_PROGRAM_POINT_SIZEAccepted by thecapparameter of Disable, Enable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.static intGL_VERTEX_SHADERAccepted by thetypeargument of CreateShader and returned by theparamsparameter of GetShaderiv.-
Fields inherited from class org.lwjgl.opengl.GL11C
GL_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
-
Fields inherited from class org.lwjgl.opengl.GL12C
GL_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_REV
-
Fields inherited from class org.lwjgl.opengl.GL13C
GL_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_TEXTURE9
-
Fields inherited from class org.lwjgl.opengl.GL14C
GL_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_BIAS
-
Fields inherited from class org.lwjgl.opengl.GL15C
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_ONLY
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidglAttachShader(int program, int shader)Attaches a shader object to a program object.static voidglBindAttribLocation(int program, int index, java.lang.CharSequence name)Associates a generic vertex attribute index with a named attribute variable.static voidglBindAttribLocation(int program, int index, java.nio.ByteBuffer name)Associates a generic vertex attribute index with a named attribute variable.static voidglBlendEquationSeparate(int modeRGB, int modeAlpha)Sets the RGB blend equation and the alpha blend equation separately.static voidglCompileShader(int shader)Compiles a shader object.static intglCreateProgram()Creates a program object.static intglCreateShader(int type)Creates a shader object.static voidglDeleteProgram(int program)Deletes a program object.static voidglDeleteShader(int shader)Deletes a shader object.static voidglDetachShader(int program, int shader)Detaches a shader object from a program object to which it is attached.static voidglDisableVertexAttribArray(int index)Disables a generic vertex attribute array.static voidglDrawBuffers(int buf)Specifies a list of color buffers to be drawn into.static voidglDrawBuffers(int[] bufs)Array version of:DrawBuffersstatic voidglDrawBuffers(java.nio.IntBuffer bufs)Specifies a list of color buffers to be drawn into.static voidglEnableVertexAttribArray(int index)Enables a generic vertex attribute array.static voidglGetActiveAttrib(int program, int index, int[] length, int[] size, int[] type, java.nio.ByteBuffer name)Array version of:GetActiveAttribstatic java.lang.StringglGetActiveAttrib(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 java.lang.StringglGetActiveAttrib(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 voidglGetActiveAttrib(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 voidglGetActiveUniform(int program, int index, int[] length, int[] size, int[] type, java.nio.ByteBuffer name)Array version of:GetActiveUniformstatic java.lang.StringglGetActiveUniform(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 java.lang.StringglGetActiveUniform(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 voidglGetActiveUniform(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 voidglGetAttachedShaders(int program, int[] count, int[] shaders)Array version of:GetAttachedShadersstatic voidglGetAttachedShaders(int program, java.nio.IntBuffer count, java.nio.IntBuffer shaders)Returns the shader objects attached to a program object.static intglGetAttribLocation(int program, java.lang.CharSequence name)Returns the location of an attribute variable.static intglGetAttribLocation(int program, java.nio.ByteBuffer name)Returns the location of an attribute variable.static intglGetProgrami(int program, int pname)Returns a parameter from a program object.static java.lang.StringglGetProgramInfoLog(int program)Returns the information log for a program object.static java.lang.StringglGetProgramInfoLog(int program, int maxLength)Returns the information log for a program object.static voidglGetProgramInfoLog(int program, int[] length, java.nio.ByteBuffer infoLog)Array version of:GetProgramInfoLogstatic voidglGetProgramInfoLog(int program, java.nio.IntBuffer length, java.nio.ByteBuffer infoLog)Returns the information log for a program object.static voidglGetProgramiv(int program, int pname, int[] params)Array version of:GetProgramivstatic voidglGetProgramiv(int program, int pname, java.nio.IntBuffer params)Returns a parameter from a program object.static intglGetShaderi(int shader, int pname)Returns a parameter from a shader object.static java.lang.StringglGetShaderInfoLog(int shader)Returns the information log for a shader object.static java.lang.StringglGetShaderInfoLog(int shader, int maxLength)Returns the information log for a shader object.static voidglGetShaderInfoLog(int shader, int[] length, java.nio.ByteBuffer infoLog)Array version of:GetShaderInfoLogstatic voidglGetShaderInfoLog(int shader, java.nio.IntBuffer length, java.nio.ByteBuffer infoLog)Returns the information log for a shader object.static voidglGetShaderiv(int shader, int pname, int[] params)Array version of:GetShaderivstatic voidglGetShaderiv(int shader, int pname, java.nio.IntBuffer params)Returns a parameter from a shader object.static java.lang.StringglGetShaderSource(int shader)Returns the source code string from a shader object.static java.lang.StringglGetShaderSource(int shader, int maxLength)Returns the source code string from a shader object.static voidglGetShaderSource(int shader, int[] length, java.nio.ByteBuffer source)Array version of:GetShaderSourcestatic voidglGetShaderSource(int shader, java.nio.IntBuffer length, java.nio.ByteBuffer source)Returns the source code string from a shader object.static floatglGetUniformf(int program, int location)Returns the float value(s) of a uniform variable.static voidglGetUniformfv(int program, int location, float[] params)Array version of:GetUniformfvstatic voidglGetUniformfv(int program, int location, java.nio.FloatBuffer params)Returns the float value(s) of a uniform variable.static intglGetUniformi(int program, int location)Returns the int value(s) of a uniform variable.static voidglGetUniformiv(int program, int location, int[] params)Array version of:GetUniformivstatic voidglGetUniformiv(int program, int location, java.nio.IntBuffer params)Returns the int value(s) of a uniform variable.static intglGetUniformLocation(int program, java.lang.CharSequence name)Returns the location of a uniform variable.static intglGetUniformLocation(int program, java.nio.ByteBuffer name)Returns the location of a uniform variable.static voidglGetVertexAttribdv(int index, int pname, double[] params)Array version of:GetVertexAttribdvstatic voidglGetVertexAttribdv(int index, int pname, java.nio.DoubleBuffer params)Double version ofGetVertexAttribiv.static voidglGetVertexAttribfv(int index, int pname, float[] params)Array version of:GetVertexAttribfvstatic voidglGetVertexAttribfv(int index, int pname, java.nio.FloatBuffer params)Float version ofGetVertexAttribiv.static intglGetVertexAttribi(int index, int pname)Returns the integer value of a generic vertex attribute parameter.static voidglGetVertexAttribiv(int index, int pname, int[] params)Array version of:GetVertexAttribivstatic voidglGetVertexAttribiv(int index, int pname, java.nio.IntBuffer params)Returns the integer value of a generic vertex attribute parameter.static longglGetVertexAttribPointer(int index, int pname)Returns the address of the specified generic vertex attribute pointer.static voidglGetVertexAttribPointerv(int index, int pname, org.lwjgl.PointerBuffer pointer)Returns the address of the specified generic vertex attribute pointer.static booleanglIsProgram(int program)ReturnsTRUEifprogramis the name of a program object.static booleanglIsShader(int shader)ReturnsTRUEifshaderis the name of a shader object.static voidglLinkProgram(int program)Links a program object.static voidglShaderSource(int shader, java.lang.CharSequence string)Sets the source code inshaderto the source code in the array of strings specified bystrings.static voidglShaderSource(int shader, java.lang.CharSequence... strings)Sets the source code inshaderto the source code in the array of strings specified bystrings.static voidglShaderSource(int shader, org.lwjgl.PointerBuffer strings, int[] length)Array version of:ShaderSourcestatic voidglShaderSource(int shader, org.lwjgl.PointerBuffer strings, java.nio.IntBuffer length)Sets the source code inshaderto the source code in the array of strings specified bystrings.static voidglStencilFuncSeparate(int face, int func, int ref, int mask)Sets front and/or back function and reference value for stencil testing.static voidglStencilMaskSeparate(int face, int mask)Controls the front and/or back writing of individual bits in the stencil planes.static voidglStencilOpSeparate(int face, int sfail, int dpfail, int dppass)Sets front and/or back stencil test actions.static voidglUniform1f(int location, float v0)Specifies the value of a float uniform variable for the current program object.static voidglUniform1fv(int location, float[] value)Array version of:Uniform1fvstatic voidglUniform1fv(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 voidglUniform1i(int location, int v0)Specifies the value of an int uniform variable for the current program object.static voidglUniform1iv(int location, int[] value)Array version of:Uniform1ivstatic voidglUniform1iv(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 voidglUniform2f(int location, float v0, float v1)Specifies the value of a vec2 uniform variable for the current program object.static voidglUniform2fv(int location, float[] value)Array version of:Uniform2fvstatic voidglUniform2fv(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 voidglUniform2i(int location, int v0, int v1)Specifies the value of an ivec2 uniform variable for the current program object.static voidglUniform2iv(int location, int[] value)Array version of:Uniform2ivstatic voidglUniform2iv(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 voidglUniform3f(int location, float v0, float v1, float v2)Specifies the value of a vec3 uniform variable for the current program object.static voidglUniform3fv(int location, float[] value)Array version of:Uniform3fvstatic voidglUniform3fv(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 voidglUniform3i(int location, int v0, int v1, int v2)Specifies the value of an ivec3 uniform variable for the current program object.static voidglUniform3iv(int location, int[] value)Array version of:Uniform3ivstatic voidglUniform3iv(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 voidglUniform4f(int location, float v0, float v1, float v2, float v3)Specifies the value of a vec4 uniform variable for the current program object.static voidglUniform4fv(int location, float[] value)Array version of:Uniform4fvstatic voidglUniform4fv(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 voidglUniform4i(int location, int v0, int v1, int v2, int v3)Specifies the value of an ivec4 uniform variable for the current program object.static voidglUniform4iv(int location, int[] value)Array version of:Uniform4ivstatic voidglUniform4iv(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 voidglUniformMatrix2fv(int location, boolean transpose, float[] value)Array version of:UniformMatrix2fvstatic voidglUniformMatrix2fv(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 voidglUniformMatrix3fv(int location, boolean transpose, float[] value)Array version of:UniformMatrix3fvstatic voidglUniformMatrix3fv(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 voidglUniformMatrix4fv(int location, boolean transpose, float[] value)Array version of:UniformMatrix4fvstatic voidglUniformMatrix4fv(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 voidglUseProgram(int program)Installs a program object as part of current rendering state.static voidglValidateProgram(int program)Validates a program object.static voidglVertexAttrib1d(int index, double v0)Double version ofVertexAttrib1f.static voidglVertexAttrib1dv(int index, double[] v)Array version of:VertexAttrib1dvstatic voidglVertexAttrib1dv(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib1d.static voidglVertexAttrib1f(int index, float v0)Specifies the value of a generic vertex attribute.static voidglVertexAttrib1fv(int index, float[] v)Array version of:VertexAttrib1fvstatic voidglVertexAttrib1fv(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib1f.static voidglVertexAttrib1s(int index, short v0)Short version ofVertexAttrib1f.static voidglVertexAttrib1sv(int index, short[] v)Array version of:VertexAttrib1svstatic voidglVertexAttrib1sv(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib1s.static voidglVertexAttrib2d(int index, double v0, double v1)Double version ofVertexAttrib2f.static voidglVertexAttrib2dv(int index, double[] v)Array version of:VertexAttrib2dvstatic voidglVertexAttrib2dv(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib2d.static voidglVertexAttrib2f(int index, float v0, float v1)Specifies the value of a generic vertex attribute.static voidglVertexAttrib2fv(int index, float[] v)Array version of:VertexAttrib2fvstatic voidglVertexAttrib2fv(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib2f.static voidglVertexAttrib2s(int index, short v0, short v1)Short version ofVertexAttrib2f.static voidglVertexAttrib2sv(int index, short[] v)Array version of:VertexAttrib2svstatic voidglVertexAttrib2sv(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib2s.static voidglVertexAttrib3d(int index, double v0, double v1, double v2)Double version ofVertexAttrib3f.static voidglVertexAttrib3dv(int index, double[] v)Array version of:VertexAttrib3dvstatic voidglVertexAttrib3dv(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib3d.static voidglVertexAttrib3f(int index, float v0, float v1, float v2)Specifies the value of a generic vertex attribute.static voidglVertexAttrib3fv(int index, float[] v)Array version of:VertexAttrib3fvstatic voidglVertexAttrib3fv(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib3f.static voidglVertexAttrib3s(int index, short v0, short v1, short v2)Short version ofVertexAttrib3f.static voidglVertexAttrib3sv(int index, short[] v)Array version of:VertexAttrib3svstatic voidglVertexAttrib3sv(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib3s.static voidglVertexAttrib4bv(int index, java.nio.ByteBuffer v)Byte pointer version ofVertexAttrib4f.static voidglVertexAttrib4d(int index, double v0, double v1, double v2, double v3)Double version ofVertexAttrib4f.static voidglVertexAttrib4dv(int index, double[] v)Array version of:VertexAttrib4dvstatic voidglVertexAttrib4dv(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib4d.static voidglVertexAttrib4f(int index, float v0, float v1, float v2, float v3)Specifies the value of a generic vertex attribute.static voidglVertexAttrib4fv(int index, float[] v)Array version of:VertexAttrib4fvstatic voidglVertexAttrib4fv(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib4f.static voidglVertexAttrib4iv(int index, int[] v)Array version of:VertexAttrib4ivstatic voidglVertexAttrib4iv(int index, java.nio.IntBuffer v)Integer pointer version ofVertexAttrib4f.static voidglVertexAttrib4Nbv(int index, java.nio.ByteBuffer v)Normalized byte pointer version ofVertexAttrib4f.static voidglVertexAttrib4Niv(int index, int[] v)Array version of:VertexAttrib4Nivstatic voidglVertexAttrib4Niv(int index, java.nio.IntBuffer v)Normalized int pointer version ofVertexAttrib4f.static voidglVertexAttrib4Nsv(int index, short[] v)Array version of:VertexAttrib4Nsvstatic voidglVertexAttrib4Nsv(int index, java.nio.ShortBuffer v)Normalized short pointer version ofVertexAttrib4f.static voidglVertexAttrib4Nub(int index, byte x, byte y, byte z, byte w)Normalized unsigned byte version ofVertexAttrib4f.static voidglVertexAttrib4Nubv(int index, java.nio.ByteBuffer v)Normalized unsigned byte pointer version ofVertexAttrib4f.static voidglVertexAttrib4Nuiv(int index, int[] v)Array version of:VertexAttrib4Nuivstatic voidglVertexAttrib4Nuiv(int index, java.nio.IntBuffer v)Normalized unsigned int pointer version ofVertexAttrib4f.static voidglVertexAttrib4Nusv(int index, short[] v)Array version of:VertexAttrib4Nusvstatic voidglVertexAttrib4Nusv(int index, java.nio.ShortBuffer v)Normalized unsigned short pointer version ofVertexAttrib4f.static voidglVertexAttrib4s(int index, short v0, short v1, short v2, short v3)Short version ofVertexAttrib4f.static voidglVertexAttrib4sv(int index, short[] v)Array version of:VertexAttrib4svstatic voidglVertexAttrib4sv(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib4s.static voidglVertexAttrib4ubv(int index, java.nio.ByteBuffer v)Pointer version ofVertexAttrib4Nub.static voidglVertexAttrib4uiv(int index, int[] v)Array version of:VertexAttrib4uivstatic voidglVertexAttrib4uiv(int index, java.nio.IntBuffer v)Unsigned int pointer version ofVertexAttrib4f.static voidglVertexAttrib4usv(int index, short[] v)Array version of:VertexAttrib4usvstatic voidglVertexAttrib4usv(int index, java.nio.ShortBuffer v)Unsigned short pointer version ofVertexAttrib4f.static voidglVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, long pointer)Specifies the location and organization of a vertex attribute array.static voidglVertexAttribPointer(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 voidglVertexAttribPointer(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 voidglVertexAttribPointer(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 voidglVertexAttribPointer(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 voidnglBindAttribLocation(int program, int index, long name)Unsafe version of:BindAttribLocationstatic voidnglDrawBuffers(int n, long bufs)Unsafe version of:DrawBuffersstatic voidnglGetActiveAttrib(int program, int index, int maxLength, long length, long size, long type, long name)Unsafe version of:GetActiveAttribstatic voidnglGetActiveUniform(int program, int index, int maxLength, long length, long size, long type, long name)Unsafe version of:GetActiveUniformstatic voidnglGetAttachedShaders(int program, int maxCount, long count, long shaders)Unsafe version of:GetAttachedShadersstatic intnglGetAttribLocation(int program, long name)Unsafe version of:GetAttribLocationstatic voidnglGetProgramInfoLog(int program, int maxLength, long length, long infoLog)Unsafe version of:GetProgramInfoLogstatic voidnglGetProgramiv(int program, int pname, long params)Unsafe version of:GetProgramivstatic voidnglGetShaderInfoLog(int shader, int maxLength, long length, long infoLog)Unsafe version of:GetShaderInfoLogstatic voidnglGetShaderiv(int shader, int pname, long params)Unsafe version of:GetShaderivstatic voidnglGetShaderSource(int shader, int maxLength, long length, long source)Unsafe version of:GetShaderSourcestatic voidnglGetUniformfv(int program, int location, long params)Unsafe version of:GetUniformfvstatic voidnglGetUniformiv(int program, int location, long params)Unsafe version of:GetUniformivstatic intnglGetUniformLocation(int program, long name)Unsafe version of:GetUniformLocationstatic voidnglGetVertexAttribdv(int index, int pname, long params)Unsafe version of:GetVertexAttribdvstatic voidnglGetVertexAttribfv(int index, int pname, long params)Unsafe version of:GetVertexAttribfvstatic voidnglGetVertexAttribiv(int index, int pname, long params)Unsafe version of:GetVertexAttribivstatic voidnglGetVertexAttribPointerv(int index, int pname, long pointer)Unsafe version of:GetVertexAttribPointervstatic voidnglShaderSource(int shader, int count, long strings, long length)Unsafe version of:ShaderSourcestatic voidnglUniform1fv(int location, int count, long value)Unsafe version of:Uniform1fvstatic voidnglUniform1iv(int location, int count, long value)Unsafe version of:Uniform1ivstatic voidnglUniform2fv(int location, int count, long value)Unsafe version of:Uniform2fvstatic voidnglUniform2iv(int location, int count, long value)Unsafe version of:Uniform2ivstatic voidnglUniform3fv(int location, int count, long value)Unsafe version of:Uniform3fvstatic voidnglUniform3iv(int location, int count, long value)Unsafe version of:Uniform3ivstatic voidnglUniform4fv(int location, int count, long value)Unsafe version of:Uniform4fvstatic voidnglUniform4iv(int location, int count, long value)Unsafe version of:Uniform4ivstatic voidnglUniformMatrix2fv(int location, int count, boolean transpose, long value)Unsafe version of:UniformMatrix2fvstatic voidnglUniformMatrix3fv(int location, int count, boolean transpose, long value)Unsafe version of:UniformMatrix3fvstatic voidnglUniformMatrix4fv(int location, int count, boolean transpose, long value)Unsafe version of:UniformMatrix4fvstatic voidnglVertexAttrib1dv(int index, long v)Unsafe version of:VertexAttrib1dvstatic voidnglVertexAttrib1fv(int index, long v)Unsafe version of:VertexAttrib1fvstatic voidnglVertexAttrib1sv(int index, long v)Unsafe version of:VertexAttrib1svstatic voidnglVertexAttrib2dv(int index, long v)Unsafe version of:VertexAttrib2dvstatic voidnglVertexAttrib2fv(int index, long v)Unsafe version of:VertexAttrib2fvstatic voidnglVertexAttrib2sv(int index, long v)Unsafe version of:VertexAttrib2svstatic voidnglVertexAttrib3dv(int index, long v)Unsafe version of:VertexAttrib3dvstatic voidnglVertexAttrib3fv(int index, long v)Unsafe version of:VertexAttrib3fvstatic voidnglVertexAttrib3sv(int index, long v)Unsafe version of:VertexAttrib3svstatic voidnglVertexAttrib4bv(int index, long v)Unsafe version of:VertexAttrib4bvstatic voidnglVertexAttrib4dv(int index, long v)Unsafe version of:VertexAttrib4dvstatic voidnglVertexAttrib4fv(int index, long v)Unsafe version of:VertexAttrib4fvstatic voidnglVertexAttrib4iv(int index, long v)Unsafe version of:VertexAttrib4ivstatic voidnglVertexAttrib4Nbv(int index, long v)Unsafe version of:VertexAttrib4Nbvstatic voidnglVertexAttrib4Niv(int index, long v)Unsafe version of:VertexAttrib4Nivstatic voidnglVertexAttrib4Nsv(int index, long v)Unsafe version of:VertexAttrib4Nsvstatic voidnglVertexAttrib4Nubv(int index, long v)Unsafe version of:VertexAttrib4Nubvstatic voidnglVertexAttrib4Nuiv(int index, long v)Unsafe version of:VertexAttrib4Nuivstatic voidnglVertexAttrib4Nusv(int index, long v)Unsafe version of:VertexAttrib4Nusvstatic voidnglVertexAttrib4sv(int index, long v)Unsafe version of:VertexAttrib4svstatic voidnglVertexAttrib4ubv(int index, long v)Unsafe version of:VertexAttrib4ubvstatic voidnglVertexAttrib4uiv(int index, long v)Unsafe version of:VertexAttrib4uivstatic voidnglVertexAttrib4usv(int index, long v)Unsafe version of:VertexAttrib4usvstatic voidnglVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, long pointer)Unsafe version of:VertexAttribPointer-
Methods inherited from class org.lwjgl.opengl.GL11C
glBindTexture, 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, nglTexSubImage2D
-
Methods inherited from class org.lwjgl.opengl.GL12C
glCopyTexSubImage3D, 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, nglTexSubImage3D
-
Methods inherited from class org.lwjgl.opengl.GL13C
glActiveTexture, glCompressedTexImage1D, glCompressedTexImage1D, glCompressedTexImage2D, glCompressedTexImage2D, glCompressedTexImage3D, glCompressedTexImage3D, glCompressedTexSubImage1D, glCompressedTexSubImage1D, glCompressedTexSubImage2D, glCompressedTexSubImage2D, glCompressedTexSubImage3D, glCompressedTexSubImage3D, glGetCompressedTexImage, glGetCompressedTexImage, glSampleCoverage, nglCompressedTexImage1D, nglCompressedTexImage2D, nglCompressedTexImage3D, nglCompressedTexSubImage1D, nglCompressedTexSubImage2D, nglCompressedTexSubImage3D, nglGetCompressedTexImage
-
Methods inherited from class org.lwjgl.opengl.GL14C
glBlendColor, glBlendEquation, glBlendFuncSeparate, glMultiDrawArrays, glMultiDrawArrays, glMultiDrawElements, glMultiDrawElements, glPointParameterf, glPointParameterfv, glPointParameterfv, glPointParameteri, glPointParameteriv, glPointParameteriv, nglMultiDrawArrays, nglMultiDrawElements, nglPointParameterfv, nglPointParameteriv
-
Methods inherited from class org.lwjgl.opengl.GL15C
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, nglMapBuffer
-
-
-
-
Field Detail
-
GL_SHADING_LANGUAGE_VERSION
Accepted by thenameparameter of GetString.
-
GL_CURRENT_PROGRAM
Accepted by thepnameparameter of GetInteger.
-
GL_SHADER_TYPE, GL_DELETE_STATUS, GL_COMPILE_STATUS, GL_LINK_STATUS, GL_VALIDATE_STATUS, GL_INFO_LOG_LENGTH, GL_ATTACHED_SHADERS, GL_ACTIVE_UNIFORMS, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_SHADER_SOURCE_LENGTH
Accepted by thepnameparameter of GetShaderiv.
-
GL_FLOAT_VEC2, GL_FLOAT_VEC3, GL_FLOAT_VEC4, GL_INT_VEC2, GL_INT_VEC3, GL_INT_VEC4, GL_BOOL, GL_BOOL_VEC2, GL_BOOL_VEC3, GL_BOOL_VEC4, GL_FLOAT_MAT2, GL_FLOAT_MAT3, GL_FLOAT_MAT4, GL_SAMPLER_1D, GL_SAMPLER_2D, GL_SAMPLER_3D, GL_SAMPLER_CUBE, GL_SAMPLER_1D_SHADOW, GL_SAMPLER_2D_SHADOW
Returned by thetypeparameter of GetActiveUniform.
-
GL_VERTEX_SHADER
Accepted by thetypeargument of CreateShader and returned by theparamsparameter of GetShaderiv.
-
GL_MAX_VERTEX_UNIFORM_COMPONENTS, GL_MAX_VARYING_FLOATS, GL_MAX_VERTEX_ATTRIBS, GL_MAX_TEXTURE_IMAGE_UNITS, GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_VERTEX_PROGRAM_POINT_SIZE
Accepted by thecapparameter of Disable, Enable, and IsEnabled, and by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_CURRENT_VERTEX_ATTRIB
Accepted by thepnameparameter of GetVertexAttrib{dfi}v.
-
GL_VERTEX_ATTRIB_ARRAY_POINTER
Accepted by thepnameparameter of GetVertexAttribPointerv.
-
GL_FRAGMENT_SHADER
Accepted by thetypeargument of CreateShader and returned by theparamsparameter of GetShaderiv.
-
GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_FRAGMENT_SHADER_DERIVATIVE_HINT
Accepted by thetargetparameter of Hint and thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_MAX_DRAW_BUFFERS, GL_DRAW_BUFFER0, GL_DRAW_BUFFER1, GL_DRAW_BUFFER2, GL_DRAW_BUFFER3, GL_DRAW_BUFFER4, GL_DRAW_BUFFER5, GL_DRAW_BUFFER6, GL_DRAW_BUFFER7, GL_DRAW_BUFFER8, GL_DRAW_BUFFER9, GL_DRAW_BUFFER10, GL_DRAW_BUFFER11, GL_DRAW_BUFFER12, GL_DRAW_BUFFER13, GL_DRAW_BUFFER14, GL_DRAW_BUFFER15
Accepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.
-
GL_POINT_SPRITE_COORD_ORIGIN
Accepted by thepnameparameter of PointParameter{if}v.
-
GL_LOWER_LEFT, GL_UPPER_LEFT
Accepted by theparamparameter of PointParameter{if}v.
-
GL_BLEND_EQUATION_RGB, GL_BLEND_EQUATION_ALPHA
Accepted by thepnameparameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
-
GL_STENCIL_BACK_FUNC, GL_STENCIL_BACK_FAIL, GL_STENCIL_BACK_PASS_DEPTH_FAIL, GL_STENCIL_BACK_PASS_DEPTH_PASS, GL_STENCIL_BACK_REF, GL_STENCIL_BACK_VALUE_MASK, GL_STENCIL_BACK_WRITEMASK
Accepted by thepnameparameter of GetIntegerv.
-
-
Method Detail
-
glCreateProgram
public static int glCreateProgram()
Creates a program object.- See Also:
- Reference Page
-
glDeleteProgram
public static void glDeleteProgram(int program)
Deletes a program object.- Parameters:
program- the program object to be deleted- See Also:
- Reference Page
-
glIsProgram
public static boolean glIsProgram(int program)
ReturnsTRUEifprogramis the name of a program object. Ifprogramis zero, or a non-zero value that is not the name of a program object, IsProgram returnsFALSE. No error is generated if program is not a valid program object name.- Parameters:
program- the program object name to query- See Also:
- Reference Page
-
glCreateShader
public static int glCreateShader(int type)
Creates a shader object.- Parameters:
type- the type of shader to be created. One of:VERTEX_SHADERFRAGMENT_SHADERGEOMETRY_SHADERTESS_CONTROL_SHADERTESS_EVALUATION_SHADER- See Also:
- Reference Page
-
glDeleteShader
public static void glDeleteShader(int shader)
Deletes a shader object.- Parameters:
shader- the shader object to be deleted- See Also:
- Reference Page
-
glIsShader
public static boolean glIsShader(int shader)
ReturnsTRUEifshaderis the name of a shader object. Ifshaderis zero, or a nonzero value that is not the name of a shader object, IsShader returnsFALSE. No error is generated if shader is not a valid shader object name.- Parameters:
shader- the shader object name to query- See Also:
- Reference Page
-
glAttachShader
public static void glAttachShader(int program, int shader)Attaches a shader object to a program object.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.
- Parameters:
program- the program object to which a shader object will be attachedshader- the shader object that is to be attached- See Also:
- Reference Page
-
glDetachShader
public static void glDetachShader(int program, int shader)Detaches a shader object from a program object to which it is attached.- Parameters:
program- the program object from which to detach the shader objectshader- the shader object to be detached- See Also:
- Reference Page
-
nglShaderSource
public static void nglShaderSource(int shader, int count, long strings, long length)Unsafe version of:ShaderSource- Parameters:
count- the number of elements in the string and length arrays
-
glShaderSource
public static void glShaderSource(int shader, org.lwjgl.PointerBuffer strings, @Nullable java.nio.IntBuffer length)Sets the source code inshaderto the source code in the array of strings specified bystrings. Any source code previously stored in the shader object is completely replaced. The number of strings in the array is specified bycount. IflengthisNULL, each string is assumed to be null terminated. Iflengthis a value other thanNULL, it points to an array containing a string length for each of the corresponding elements ofstrings. 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.- Parameters:
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 lengths- See Also:
- Reference Page
-
glShaderSource
public static void glShaderSource(int shader, java.lang.CharSequence... strings)Sets the source code inshaderto the source code in the array of strings specified bystrings. Any source code previously stored in the shader object is completely replaced. The number of strings in the array is specified bycount. IflengthisNULL, each string is assumed to be null terminated. Iflengthis a value other thanNULL, it points to an array containing a string length for each of the corresponding elements ofstrings. 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.- Parameters:
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 shader- See Also:
- Reference Page
-
glShaderSource
public static void glShaderSource(int shader, java.lang.CharSequence string)Sets the source code inshaderto the source code in the array of strings specified bystrings. Any source code previously stored in the shader object is completely replaced. The number of strings in the array is specified bycount. IflengthisNULL, each string is assumed to be null terminated. Iflengthis a value other thanNULL, it points to an array containing a string length for each of the corresponding elements ofstrings. 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.- Parameters:
shader- the shader object whose source code is to be replaced- See Also:
- Reference Page
-
glCompileShader
public static void glCompileShader(int shader)
Compiles a shader object.- Parameters:
shader- the shader object to be compiled- See Also:
- Reference Page
-
glLinkProgram
public static void glLinkProgram(int program)
Links a program object.- Parameters:
program- the program object to be linked- See Also:
- Reference Page
-
glUseProgram
public static void glUseProgram(int program)
Installs a program object as part of current rendering state.- Parameters:
program- the program object whose executables are to be used as part of current rendering state- See Also:
- Reference Page
-
glValidateProgram
public static void glValidateProgram(int program)
Validates a program object.- Parameters:
program- the program object to be validated- See Also:
- Reference Page
-
glUniform1f
public static void glUniform1f(int location, float v0)Specifies the value of a float uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedv0- the uniform value- See Also:
- Reference Page
-
glUniform2f
public static void glUniform2f(int location, float v0, float v1)Specifies the value of a vec2 uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedv0- the uniform x valuev1- the uniform y value- See Also:
- Reference Page
-
glUniform3f
public static void glUniform3f(int location, float v0, float v1, float v2)Specifies the value of a vec3 uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedv0- the uniform x valuev1- the uniform y valuev2- the uniform z value- See Also:
- Reference Page
-
glUniform4f
public 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.- Parameters:
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 value- See Also:
- Reference Page
-
glUniform1i
public static void glUniform1i(int location, int v0)Specifies the value of an int uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedv0- the uniform value- See Also:
- Reference Page
-
glUniform2i
public static void glUniform2i(int location, int v0, int v1)Specifies the value of an ivec2 uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedv0- the uniform x valuev1- the uniform y value- See Also:
- Reference Page
-
glUniform3i
public static void glUniform3i(int location, int v0, int v1, int v2)Specifies the value of an ivec3 uniform variable for the current program object.- Parameters:
location- the location of the uniform variable to be modifiedv0- the uniform x valuev1- the uniform y valuev2- the uniform z value- See Also:
- Reference Page
-
glUniform4i
public 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.- Parameters:
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 value- See Also:
- Reference Page
-
nglUniform1fv
public static void nglUniform1fv(int location, int count, long value)Unsafe version of:Uniform1fv- Parameters:
count- 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.
-
glUniform1fv
public 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.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable- See Also:
- Reference Page
-
nglUniform2fv
public static void nglUniform2fv(int location, int count, long value)Unsafe version of:Uniform2fv- Parameters:
count- 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.
-
glUniform2fv
public 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.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable- See Also:
- Reference Page
-
nglUniform3fv
public static void nglUniform3fv(int location, int count, long value)Unsafe version of:Uniform3fv- Parameters:
count- 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.
-
glUniform3fv
public 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.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable- See Also:
- Reference Page
-
nglUniform4fv
public static void nglUniform4fv(int location, int count, long value)Unsafe version of:Uniform4fv- Parameters:
count- 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.
-
glUniform4fv
public 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.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable- See Also:
- Reference Page
-
nglUniform1iv
public static void nglUniform1iv(int location, int count, long value)Unsafe version of:Uniform1iv- Parameters:
count- 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.
-
glUniform1iv
public 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.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable- See Also:
- Reference Page
-
nglUniform2iv
public static void nglUniform2iv(int location, int count, long value)Unsafe version of:Uniform2iv- Parameters:
count- 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.
-
glUniform2iv
public 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.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable- See Also:
- Reference Page
-
nglUniform3iv
public static void nglUniform3iv(int location, int count, long value)Unsafe version of:Uniform3iv- Parameters:
count- 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.
-
glUniform3iv
public 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.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable- See Also:
- Reference Page
-
nglUniform4iv
public static void nglUniform4iv(int location, int count, long value)Unsafe version of:Uniform4iv- Parameters:
count- 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.
-
glUniform4iv
public 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.- Parameters:
location- the location of the uniform variable to be modifiedvalue- a pointer to an array ofcountvalues that will be used to update the specified uniform variable- See Also:
- Reference Page
-
nglUniformMatrix2fv
public static void nglUniformMatrix2fv(int location, int count, boolean transpose, long value)Unsafe version of:UniformMatrix2fv- Parameters:
count- 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.
-
glUniformMatrix2fv
public 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.- Parameters:
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 ofcountvalues that will be used to update the specified uniform variable- See Also:
- Reference Page
-
nglUniformMatrix3fv
public static void nglUniformMatrix3fv(int location, int count, boolean transpose, long value)Unsafe version of:UniformMatrix3fv- Parameters:
count- 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.
-
glUniformMatrix3fv
public 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.- Parameters:
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 ofcountvalues that will be used to update the specified uniform variable- See Also:
- Reference Page
-
nglUniformMatrix4fv
public static void nglUniformMatrix4fv(int location, int count, boolean transpose, long value)Unsafe version of:UniformMatrix4fv- Parameters:
count- 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.
-
glUniformMatrix4fv
public 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.- Parameters:
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 ofcountvalues that will be used to update the specified uniform variable- See Also:
- Reference Page
-
nglGetShaderiv
public static void nglGetShaderiv(int shader, int pname, long params)Unsafe version of:GetShaderiv
-
glGetShaderiv
public static void glGetShaderiv(int shader, int pname, java.nio.IntBuffer params)Returns a parameter from a shader object.- Parameters:
shader- the shader object to be queriedpname- the object parameter. One of:SHADER_TYPEDELETE_STATUSCOMPILE_STATUSINFO_LOG_LENGTHSHADER_SOURCE_LENGTHparams- the requested object parameter- See Also:
- Reference Page
-
glGetShaderi
public static int glGetShaderi(int shader, int pname)Returns a parameter from a shader object.- Parameters:
shader- the shader object to be queriedpname- the object parameter. One of:SHADER_TYPEDELETE_STATUSCOMPILE_STATUSINFO_LOG_LENGTHSHADER_SOURCE_LENGTH- See Also:
- Reference Page
-
nglGetProgramiv
public static void nglGetProgramiv(int program, int pname, long params)Unsafe version of:GetProgramiv
-
glGetProgramiv
public static void glGetProgramiv(int program, int pname, java.nio.IntBuffer params)Returns a parameter from a program object.- Parameters:
program- the program object to be queriedpname- the object parameter. One of:params- the requested object parameter- See Also:
- Reference Page
-
glGetProgrami
public static int glGetProgrami(int program, int pname)Returns a parameter from a program object.- Parameters:
program- the program object to be queriedpname- the object parameter. One of:- See Also:
- Reference Page
-
nglGetShaderInfoLog
public static void nglGetShaderInfoLog(int shader, int maxLength, long length, long infoLog)Unsafe version of:GetShaderInfoLog- Parameters:
maxLength- the size of the character buffer for storing the returned information log
-
glGetShaderInfoLog
public static void glGetShaderInfoLog(int shader, @Nullable java.nio.IntBuffer length, java.nio.ByteBuffer infoLog)Returns the information log for a shader object.- Parameters:
shader- the shader object whose information log is to be queriedlength- the length of the string returned ininfoLog(excluding the null terminator)infoLog- an array of characters that is used to return the information log- See Also:
- Reference Page
-
glGetShaderInfoLog
public static java.lang.String glGetShaderInfoLog(int shader, int maxLength)Returns the information log for a shader object.- Parameters:
shader- the shader object whose information log is to be queriedmaxLength- the size of the character buffer for storing the returned information log- See Also:
- Reference Page
-
glGetShaderInfoLog
public static java.lang.String glGetShaderInfoLog(int shader)
Returns the information log for a shader object.- Parameters:
shader- the shader object whose information log is to be queried- See Also:
- Reference Page
-
nglGetProgramInfoLog
public static void nglGetProgramInfoLog(int program, int maxLength, long length, long infoLog)Unsafe version of:GetProgramInfoLog- Parameters:
maxLength- the size of the character buffer for storing the returned information log
-
glGetProgramInfoLog
public static void glGetProgramInfoLog(int program, @Nullable java.nio.IntBuffer length, java.nio.ByteBuffer infoLog)Returns the information log for a program object.- Parameters:
program- the program object whose information log is to be queriedlength- the length of the string returned ininfoLog(excluding the null terminator)infoLog- an array of characters that is used to return the information log- See Also:
- Reference Page
-
glGetProgramInfoLog
public static java.lang.String glGetProgramInfoLog(int program, int maxLength)Returns the information log for a program object.- Parameters:
program- the program object whose information log is to be queriedmaxLength- the size of the character buffer for storing the returned information log- See Also:
- Reference Page
-
glGetProgramInfoLog
public static java.lang.String glGetProgramInfoLog(int program)
Returns the information log for a program object.- Parameters:
program- the program object whose information log is to be queried- See Also:
- Reference Page
-
nglGetAttachedShaders
public static void nglGetAttachedShaders(int program, int maxCount, long count, long shaders)Unsafe version of:GetAttachedShaders- Parameters:
maxCount- the size of the array for storing the returned object names
-
glGetAttachedShaders
public static void glGetAttachedShaders(int program, @Nullable java.nio.IntBuffer count, java.nio.IntBuffer shaders)Returns the shader objects attached to a program object.- Parameters:
program- the program object to be queriedcount- the number of names actually returned inshadersshaders- an array that is used to return the names of attached shader objects- See Also:
- Reference Page
-
nglGetUniformLocation
public static int nglGetUniformLocation(int program, long name)Unsafe version of:GetUniformLocation
-
glGetUniformLocation
public static int glGetUniformLocation(int program, java.nio.ByteBuffer name) public static int glGetUniformLocation(int program, java.lang.CharSequence name)Returns the location of a uniform variable.- Parameters:
program- the program object to be queriedname- a null terminated string containing the name of the uniform variable whose location is to be queried- See Also:
- Reference Page
-
nglGetActiveUniform
public static void nglGetActiveUniform(int program, int index, int maxLength, long length, long size, long type, long name)Unsafe version of:GetActiveUniform- Parameters:
maxLength- the maximum number of characters OpenGL is allowed to write in the character buffer indicated byname
-
glGetActiveUniform
public static void glGetActiveUniform(int program, int index, @Nullable 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.- Parameters:
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 byname(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 variable- See Also:
- Reference Page
-
glGetActiveUniform
public 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.- Parameters:
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 bynamesize- the size of the uniform variabletype- the data type of the uniform variable- See Also:
- Reference Page
-
glGetActiveUniform
public 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.- Parameters:
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 variable- See Also:
- Reference Page
-
nglGetUniformfv
public static void nglGetUniformfv(int program, int location, long params)Unsafe version of:GetUniformfv
-
glGetUniformfv
public static void glGetUniformfv(int program, int location, java.nio.FloatBuffer params)Returns the float value(s) of a uniform variable.- Parameters:
program- the program object to be queriedlocation- the location of the uniform variable to be queriedparams- the value of the specified uniform variable- See Also:
- Reference Page
-
glGetUniformf
public static float glGetUniformf(int program, int location)Returns the float value(s) of a uniform variable.- Parameters:
program- the program object to be queriedlocation- the location of the uniform variable to be queried- See Also:
- Reference Page
-
nglGetUniformiv
public static void nglGetUniformiv(int program, int location, long params)Unsafe version of:GetUniformiv
-
glGetUniformiv
public static void glGetUniformiv(int program, int location, java.nio.IntBuffer params)Returns the int value(s) of a uniform variable.- Parameters:
program- the program object to be queriedlocation- the location of the uniform variable to be queriedparams- the value of the specified uniform variable- See Also:
- Reference Page
-
glGetUniformi
public static int glGetUniformi(int program, int location)Returns the int value(s) of a uniform variable.- Parameters:
program- the program object to be queriedlocation- the location of the uniform variable to be queried- See Also:
- Reference Page
-
nglGetShaderSource
public static void nglGetShaderSource(int shader, int maxLength, long length, long source)Unsafe version of:GetShaderSource- Parameters:
maxLength- the size of the character buffer for storing the returned source code string
-
glGetShaderSource
public static void glGetShaderSource(int shader, @Nullable java.nio.IntBuffer length, java.nio.ByteBuffer source)Returns the source code string from a shader object.- Parameters:
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 string- See Also:
- Reference Page
-
glGetShaderSource
public static java.lang.String glGetShaderSource(int shader, int maxLength)Returns the source code string from a shader object.- Parameters:
shader- the shader object to be queriedmaxLength- the size of the character buffer for storing the returned source code string- See Also:
- Reference Page
-
glGetShaderSource
public static java.lang.String glGetShaderSource(int shader)
Returns the source code string from a shader object.- Parameters:
shader- the shader object to be queried- See Also:
- Reference Page
-
glVertexAttrib1f
public static void glVertexAttrib1f(int index, float v0)Specifies the value of a generic vertex attribute. The y and z components are implicitly set to 0.0f and w to 1.0f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv0- the vertex attribute x component- See Also:
- Reference Page
-
glVertexAttrib1s
public static void glVertexAttrib1s(int index, short v0)Short version ofVertexAttrib1f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv0- the vertex attribute x component- See Also:
- Reference Page
-
glVertexAttrib1d
public static void glVertexAttrib1d(int index, double v0)Double version ofVertexAttrib1f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv0- the vertex attribute x component- See Also:
- Reference Page
-
glVertexAttrib2f
public static void glVertexAttrib2f(int index, float v0, float v1)Specifies the value of a generic vertex attribute. The y component is implicitly set to 0.0f and w to 1.0f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv0- the vertex attribute x componentv1- the vertex attribute y component- See Also:
- Reference Page
-
glVertexAttrib2s
public static void glVertexAttrib2s(int index, short v0, short v1)Short version ofVertexAttrib2f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv0- the vertex attribute x componentv1- the vertex attribute y component- See Also:
- Reference Page
-
glVertexAttrib2d
public static void glVertexAttrib2d(int index, double v0, double v1)Double version ofVertexAttrib2f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv0- the vertex attribute x componentv1- the vertex attribute y component- See Also:
- Reference Page
-
glVertexAttrib3f
public static void glVertexAttrib3f(int index, float v0, float v1, float v2)Specifies the value of a generic vertex attribute. The w is implicitly set to 1.0f.- Parameters:
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 component- See Also:
- Reference Page
-
glVertexAttrib3s
public static void glVertexAttrib3s(int index, short v0, short v1, short v2)Short version ofVertexAttrib3f.- Parameters:
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 component- See Also:
- Reference Page
-
glVertexAttrib3d
public static void glVertexAttrib3d(int index, double v0, double v1, double v2)Double version ofVertexAttrib3f.- Parameters:
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 component- See Also:
- Reference Page
-
glVertexAttrib4f
public static void glVertexAttrib4f(int index, float v0, float v1, float v2, float v3)Specifies the value of a generic vertex attribute.- Parameters:
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 component- See Also:
- Reference Page
-
glVertexAttrib4s
public static void glVertexAttrib4s(int index, short v0, short v1, short v2, short v3)Short version ofVertexAttrib4f.- Parameters:
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 component- See Also:
- Reference Page
-
glVertexAttrib4d
public static void glVertexAttrib4d(int index, double v0, double v1, double v2, double v3)Double version ofVertexAttrib4f.- Parameters:
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 component- See Also:
- Reference Page
-
glVertexAttrib4Nub
public static void glVertexAttrib4Nub(int index, byte x, byte y, byte z, byte w)Normalized unsigned byte version ofVertexAttrib4f.- Parameters:
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 component- See Also:
- Reference Page
-
nglVertexAttrib1fv
public static void nglVertexAttrib1fv(int index, long v)Unsafe version of:VertexAttrib1fv
-
glVertexAttrib1fv
public static void glVertexAttrib1fv(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib1f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib1sv
public static void nglVertexAttrib1sv(int index, long v)Unsafe version of:VertexAttrib1sv
-
glVertexAttrib1sv
public static void glVertexAttrib1sv(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib1s.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib1dv
public static void nglVertexAttrib1dv(int index, long v)Unsafe version of:VertexAttrib1dv
-
glVertexAttrib1dv
public static void glVertexAttrib1dv(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib1d.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib2fv
public static void nglVertexAttrib2fv(int index, long v)Unsafe version of:VertexAttrib2fv
-
glVertexAttrib2fv
public static void glVertexAttrib2fv(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib2f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib2sv
public static void nglVertexAttrib2sv(int index, long v)Unsafe version of:VertexAttrib2sv
-
glVertexAttrib2sv
public static void glVertexAttrib2sv(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib2s.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib2dv
public static void nglVertexAttrib2dv(int index, long v)Unsafe version of:VertexAttrib2dv
-
glVertexAttrib2dv
public static void glVertexAttrib2dv(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib2d.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib3fv
public static void nglVertexAttrib3fv(int index, long v)Unsafe version of:VertexAttrib3fv
-
glVertexAttrib3fv
public static void glVertexAttrib3fv(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib3f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib3sv
public static void nglVertexAttrib3sv(int index, long v)Unsafe version of:VertexAttrib3sv
-
glVertexAttrib3sv
public static void glVertexAttrib3sv(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib3s.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib3dv
public static void nglVertexAttrib3dv(int index, long v)Unsafe version of:VertexAttrib3dv
-
glVertexAttrib3dv
public static void glVertexAttrib3dv(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib3d.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib4fv
public static void nglVertexAttrib4fv(int index, long v)Unsafe version of:VertexAttrib4fv
-
glVertexAttrib4fv
public static void glVertexAttrib4fv(int index, java.nio.FloatBuffer v)Pointer version ofVertexAttrib4f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib4sv
public static void nglVertexAttrib4sv(int index, long v)Unsafe version of:VertexAttrib4sv
-
glVertexAttrib4sv
public static void glVertexAttrib4sv(int index, java.nio.ShortBuffer v)Pointer version ofVertexAttrib4s.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib4dv
public static void nglVertexAttrib4dv(int index, long v)Unsafe version of:VertexAttrib4dv
-
glVertexAttrib4dv
public static void glVertexAttrib4dv(int index, java.nio.DoubleBuffer v)Pointer version ofVertexAttrib4d.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib4iv
public static void nglVertexAttrib4iv(int index, long v)Unsafe version of:VertexAttrib4iv
-
glVertexAttrib4iv
public static void glVertexAttrib4iv(int index, java.nio.IntBuffer v)Integer pointer version ofVertexAttrib4f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib4bv
public static void nglVertexAttrib4bv(int index, long v)Unsafe version of:VertexAttrib4bv
-
glVertexAttrib4bv
public static void glVertexAttrib4bv(int index, java.nio.ByteBuffer v)Byte pointer version ofVertexAttrib4f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib4ubv
public static void nglVertexAttrib4ubv(int index, long v)Unsafe version of:VertexAttrib4ubv
-
glVertexAttrib4ubv
public static void glVertexAttrib4ubv(int index, java.nio.ByteBuffer v)Pointer version ofVertexAttrib4Nub.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib4usv
public static void nglVertexAttrib4usv(int index, long v)Unsafe version of:VertexAttrib4usv
-
glVertexAttrib4usv
public static void glVertexAttrib4usv(int index, java.nio.ShortBuffer v)Unsigned short pointer version ofVertexAttrib4f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib4uiv
public static void nglVertexAttrib4uiv(int index, long v)Unsafe version of:VertexAttrib4uiv
-
glVertexAttrib4uiv
public static void glVertexAttrib4uiv(int index, java.nio.IntBuffer v)Unsigned int pointer version ofVertexAttrib4f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib4Nbv
public static void nglVertexAttrib4Nbv(int index, long v)Unsafe version of:VertexAttrib4Nbv
-
glVertexAttrib4Nbv
public static void glVertexAttrib4Nbv(int index, java.nio.ByteBuffer v)Normalized byte pointer version ofVertexAttrib4f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib4Nsv
public static void nglVertexAttrib4Nsv(int index, long v)Unsafe version of:VertexAttrib4Nsv
-
glVertexAttrib4Nsv
public static void glVertexAttrib4Nsv(int index, java.nio.ShortBuffer v)Normalized short pointer version ofVertexAttrib4f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib4Niv
public static void nglVertexAttrib4Niv(int index, long v)Unsafe version of:VertexAttrib4Niv
-
glVertexAttrib4Niv
public static void glVertexAttrib4Niv(int index, java.nio.IntBuffer v)Normalized int pointer version ofVertexAttrib4f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib4Nubv
public static void nglVertexAttrib4Nubv(int index, long v)Unsafe version of:VertexAttrib4Nubv
-
glVertexAttrib4Nubv
public static void glVertexAttrib4Nubv(int index, java.nio.ByteBuffer v)Normalized unsigned byte pointer version ofVertexAttrib4f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib4Nusv
public static void nglVertexAttrib4Nusv(int index, long v)Unsafe version of:VertexAttrib4Nusv
-
glVertexAttrib4Nusv
public static void glVertexAttrib4Nusv(int index, java.nio.ShortBuffer v)Normalized unsigned short pointer version ofVertexAttrib4f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttrib4Nuiv
public static void nglVertexAttrib4Nuiv(int index, long v)Unsafe version of:VertexAttrib4Nuiv
-
glVertexAttrib4Nuiv
public static void glVertexAttrib4Nuiv(int index, java.nio.IntBuffer v)Normalized unsigned int pointer version ofVertexAttrib4f.- Parameters:
index- the index of the generic vertex attribute to be modifiedv- the vertex attribute buffer- See Also:
- Reference Page
-
nglVertexAttribPointer
public static void nglVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, long pointer)Unsafe version of:VertexAttribPointer
-
glVertexAttribPointer
public static void glVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, java.nio.ByteBuffer pointer) public static void glVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, long pointer) public static void glVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, java.nio.ShortBuffer pointer) public static void glVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, java.nio.IntBuffer pointer) public 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.- Parameters:
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 BGRAtype- the data type of each component in the array. The initial value is GL_FLOAT. One of:BYTEUNSIGNED_BYTESHORTUNSIGNED_SHORTINTUNSIGNED_INTHALF_FLOATFLOATDOUBLEUNSIGNED_INT_2_10_10_10_REVINT_2_10_10_10_REVFIXEDnormalized- 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 theARRAY_BUFFERtarget. The initial value is 0.- See Also:
- Reference Page
-
glEnableVertexAttribArray
public static void glEnableVertexAttribArray(int index)
Enables a generic vertex attribute array.- Parameters:
index- the index of the generic vertex attribute to be enabled- See Also:
- Reference Page
-
glDisableVertexAttribArray
public static void glDisableVertexAttribArray(int index)
Disables a generic vertex attribute array.- Parameters:
index- the index of the generic vertex attribute to be disabled- See Also:
- Reference Page
-
nglBindAttribLocation
public static void nglBindAttribLocation(int program, int index, long name)Unsafe version of:BindAttribLocation
-
glBindAttribLocation
public static void glBindAttribLocation(int program, int index, java.nio.ByteBuffer name) public static void glBindAttribLocation(int program, int index, java.lang.CharSequence name)Associates a generic vertex attribute index with a named attribute variable.- Parameters:
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 whichindexis to be bound- See Also:
- Reference Page
-
nglGetActiveAttrib
public static void nglGetActiveAttrib(int program, int index, int maxLength, long length, long size, long type, long name)Unsafe version of:GetActiveAttrib- Parameters:
maxLength- the maximum number of characters OpenGL is allowed to write in the character buffer indicated byname
-
glGetActiveAttrib
public static void glGetActiveAttrib(int program, int index, @Nullable 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.- Parameters:
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 byname(excluding the null terminator) if a value other thanNULLis passedsize- the size of the attribute variabletype- the data type of the attribute variablename- a null terminated string containing the name of the attribute variable- See Also:
- Reference Page
-
glGetActiveAttrib
public 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.- Parameters:
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 bynamesize- the size of the attribute variabletype- the data type of the attribute variable- See Also:
- Reference Page
-
glGetActiveAttrib
public 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.- Parameters:
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 variable- See Also:
- Reference Page
-
nglGetAttribLocation
public static int nglGetAttribLocation(int program, long name)Unsafe version of:GetAttribLocation
-
glGetAttribLocation
public static int glGetAttribLocation(int program, java.nio.ByteBuffer name) public static int glGetAttribLocation(int program, java.lang.CharSequence name)Returns the location of an attribute variable.- Parameters:
program- the program object to be queriedname- a null terminated string containing the name of the attribute variable whose location is to be queried- See Also:
- Reference Page
-
nglGetVertexAttribiv
public static void nglGetVertexAttribiv(int index, int pname, long params)Unsafe version of:GetVertexAttribiv
-
glGetVertexAttribiv
public static void glGetVertexAttribiv(int index, int pname, java.nio.IntBuffer params)Returns the integer value of a generic vertex attribute parameter.- Parameters:
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 data- See Also:
- Reference Page
-
glGetVertexAttribi
public static int glGetVertexAttribi(int index, int pname)Returns the integer value of a generic vertex attribute parameter.- Parameters:
index- the generic vertex attribute parameter to be queriedpname- the symbolic name of the vertex attribute parameter to be queried. One of:- See Also:
- Reference Page
-
nglGetVertexAttribfv
public static void nglGetVertexAttribfv(int index, int pname, long params)Unsafe version of:GetVertexAttribfv
-
glGetVertexAttribfv
public static void glGetVertexAttribfv(int index, int pname, java.nio.FloatBuffer params)Float version ofGetVertexAttribiv.- Parameters:
index- the generic vertex attribute parameter to be queriedpname- the symbolic name of the vertex attribute parameter to be queriedparams- returns the requested data- See Also:
- Reference Page
-
nglGetVertexAttribdv
public static void nglGetVertexAttribdv(int index, int pname, long params)Unsafe version of:GetVertexAttribdv
-
glGetVertexAttribdv
public static void glGetVertexAttribdv(int index, int pname, java.nio.DoubleBuffer params)Double version ofGetVertexAttribiv.- Parameters:
index- the generic vertex attribute parameter to be queriedpname- the symbolic name of the vertex attribute parameter to be queriedparams- returns the requested data- See Also:
- Reference Page
-
nglGetVertexAttribPointerv
public static void nglGetVertexAttribPointerv(int index, int pname, long pointer)Unsafe version of:GetVertexAttribPointerv
-
glGetVertexAttribPointerv
public static void glGetVertexAttribPointerv(int index, int pname, org.lwjgl.PointerBuffer pointer)Returns the address of the specified generic vertex attribute pointer.- Parameters:
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_POINTERpointer- the pointer value- See Also:
- Reference Page
-
glGetVertexAttribPointer
public static long glGetVertexAttribPointer(int index, int pname)Returns the address of the specified generic vertex attribute pointer.- Parameters:
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- See Also:
- Reference Page
-
nglDrawBuffers
public static void nglDrawBuffers(int n, long bufs)Unsafe version of:DrawBuffers- Parameters:
n- the number of buffers inbufs
-
glDrawBuffers
public static void glDrawBuffers(java.nio.IntBuffer bufs)
Specifies a list of color buffers to be drawn into.- Parameters:
bufs- an array of symbolic constants specifying the buffers into which fragment colors or data values will be written. One of:NONEFRONT_LEFTFRONT_RIGHTBACK_LEFTBACK_RIGHTCOLOR_ATTACHMENT0GL30.GL_COLOR_ATTACHMENT[1-15] - See Also:
- Reference Page
-
glDrawBuffers
public static void glDrawBuffers(int buf)
Specifies a list of color buffers to be drawn into.- See Also:
- Reference Page
-
glBlendEquationSeparate
public static void glBlendEquationSeparate(int modeRGB, int modeAlpha)Sets the RGB blend equation and the alpha blend equation separately.- Parameters:
modeRGB- the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. One of:FUNC_ADDFUNC_SUBTRACTFUNC_REVERSE_SUBTRACTMINMAXmodeAlpha- the alpha blend equation, how the alpha component of the source and destination colors are combined- See Also:
- Reference Page
-
glStencilOpSeparate
public static void glStencilOpSeparate(int face, int sfail, int dpfail, int dppass)Sets front and/or back stencil test actions.- Parameters:
face- whether front and/or back stencil state is updated. One of:FRONTBACKFRONT_AND_BACKsfail- the action to take when the stencil test fails. The initial value is GL_KEEP. One of:KEEPZEROREPLACEINCRINCR_WRAPDECRDECR_WRAPINVERTdpfail- 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_KEEP- See Also:
- Reference Page
-
glStencilFuncSeparate
public static void glStencilFuncSeparate(int face, int func, int ref, int mask)Sets front and/or back function and reference value for stencil testing.- Parameters:
face- whether front and/or back stencil state is updated. One of:FRONTBACKFRONT_AND_BACKfunc- the test function. The initial value is GL_ALWAYS. One of:NEVERLESSLEQUALGREATERGEQUALEQUALNOTEQUALALWAYSref- the reference value for the stencil test.refis clamped to the range [0, 2n – 1], wherenis 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.- See Also:
- Reference Page
-
glStencilMaskSeparate
public static void glStencilMaskSeparate(int face, int mask)Controls the front and/or back writing of individual bits in the stencil planes.- Parameters:
face- whether front and/or back stencil writemask is updated. One of:FRONTBACKFRONT_AND_BACKmask- a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's.- See Also:
- Reference Page
-
glShaderSource
public static void glShaderSource(int shader, org.lwjgl.PointerBuffer strings, @Nullable int[] length)Array version of:ShaderSource- See Also:
- Reference Page
-
glUniform1fv
public static void glUniform1fv(int location, float[] value)Array version of:Uniform1fv- See Also:
- Reference Page
-
glUniform2fv
public static void glUniform2fv(int location, float[] value)Array version of:Uniform2fv- See Also:
- Reference Page
-
glUniform3fv
public static void glUniform3fv(int location, float[] value)Array version of:Uniform3fv- See Also:
- Reference Page
-
glUniform4fv
public static void glUniform4fv(int location, float[] value)Array version of:Uniform4fv- See Also:
- Reference Page
-
glUniform1iv
public static void glUniform1iv(int location, int[] value)Array version of:Uniform1iv- See Also:
- Reference Page
-
glUniform2iv
public static void glUniform2iv(int location, int[] value)Array version of:Uniform2iv- See Also:
- Reference Page
-
glUniform3iv
public static void glUniform3iv(int location, int[] value)Array version of:Uniform3iv- See Also:
- Reference Page
-
glUniform4iv
public static void glUniform4iv(int location, int[] value)Array version of:Uniform4iv- See Also:
- Reference Page
-
glUniformMatrix2fv
public static void glUniformMatrix2fv(int location, boolean transpose, float[] value)Array version of:UniformMatrix2fv- See Also:
- Reference Page
-
glUniformMatrix3fv
public static void glUniformMatrix3fv(int location, boolean transpose, float[] value)Array version of:UniformMatrix3fv- See Also:
- Reference Page
-
glUniformMatrix4fv
public static void glUniformMatrix4fv(int location, boolean transpose, float[] value)Array version of:UniformMatrix4fv- See Also:
- Reference Page
-
glGetShaderiv
public static void glGetShaderiv(int shader, int pname, int[] params)Array version of:GetShaderiv- See Also:
- Reference Page
-
glGetProgramiv
public static void glGetProgramiv(int program, int pname, int[] params)Array version of:GetProgramiv- See Also:
- Reference Page
-
glGetShaderInfoLog
public static void glGetShaderInfoLog(int shader, @Nullable int[] length, java.nio.ByteBuffer infoLog)Array version of:GetShaderInfoLog- See Also:
- Reference Page
-
glGetProgramInfoLog
public static void glGetProgramInfoLog(int program, @Nullable int[] length, java.nio.ByteBuffer infoLog)Array version of:GetProgramInfoLog- See Also:
- Reference Page
-
glGetAttachedShaders
public static void glGetAttachedShaders(int program, @Nullable int[] count, int[] shaders)Array version of:GetAttachedShaders- See Also:
- Reference Page
-
glGetActiveUniform
public static void glGetActiveUniform(int program, int index, @Nullable int[] length, int[] size, int[] type, java.nio.ByteBuffer name)Array version of:GetActiveUniform- See Also:
- Reference Page
-
glGetUniformfv
public static void glGetUniformfv(int program, int location, float[] params)Array version of:GetUniformfv- See Also:
- Reference Page
-
glGetUniformiv
public static void glGetUniformiv(int program, int location, int[] params)Array version of:GetUniformiv- See Also:
- Reference Page
-
glGetShaderSource
public static void glGetShaderSource(int shader, @Nullable int[] length, java.nio.ByteBuffer source)Array version of:GetShaderSource- See Also:
- Reference Page
-
glVertexAttrib1fv
public static void glVertexAttrib1fv(int index, float[] v)Array version of:VertexAttrib1fv- See Also:
- Reference Page
-
glVertexAttrib1sv
public static void glVertexAttrib1sv(int index, short[] v)Array version of:VertexAttrib1sv- See Also:
- Reference Page
-
glVertexAttrib1dv
public static void glVertexAttrib1dv(int index, double[] v)Array version of:VertexAttrib1dv- See Also:
- Reference Page
-
glVertexAttrib2fv
public static void glVertexAttrib2fv(int index, float[] v)Array version of:VertexAttrib2fv- See Also:
- Reference Page
-
glVertexAttrib2sv
public static void glVertexAttrib2sv(int index, short[] v)Array version of:VertexAttrib2sv- See Also:
- Reference Page
-
glVertexAttrib2dv
public static void glVertexAttrib2dv(int index, double[] v)Array version of:VertexAttrib2dv- See Also:
- Reference Page
-
glVertexAttrib3fv
public static void glVertexAttrib3fv(int index, float[] v)Array version of:VertexAttrib3fv- See Also:
- Reference Page
-
glVertexAttrib3sv
public static void glVertexAttrib3sv(int index, short[] v)Array version of:VertexAttrib3sv- See Also:
- Reference Page
-
glVertexAttrib3dv
public static void glVertexAttrib3dv(int index, double[] v)Array version of:VertexAttrib3dv- See Also:
- Reference Page
-
glVertexAttrib4fv
public static void glVertexAttrib4fv(int index, float[] v)Array version of:VertexAttrib4fv- See Also:
- Reference Page
-
glVertexAttrib4sv
public static void glVertexAttrib4sv(int index, short[] v)Array version of:VertexAttrib4sv- See Also:
- Reference Page
-
glVertexAttrib4dv
public static void glVertexAttrib4dv(int index, double[] v)Array version of:VertexAttrib4dv- See Also:
- Reference Page
-
glVertexAttrib4iv
public static void glVertexAttrib4iv(int index, int[] v)Array version of:VertexAttrib4iv- See Also:
- Reference Page
-
glVertexAttrib4usv
public static void glVertexAttrib4usv(int index, short[] v)Array version of:VertexAttrib4usv- See Also:
- Reference Page
-
glVertexAttrib4uiv
public static void glVertexAttrib4uiv(int index, int[] v)Array version of:VertexAttrib4uiv- See Also:
- Reference Page
-
glVertexAttrib4Nsv
public static void glVertexAttrib4Nsv(int index, short[] v)Array version of:VertexAttrib4Nsv- See Also:
- Reference Page
-
glVertexAttrib4Niv
public static void glVertexAttrib4Niv(int index, int[] v)Array version of:VertexAttrib4Niv- See Also:
- Reference Page
-
glVertexAttrib4Nusv
public static void glVertexAttrib4Nusv(int index, short[] v)Array version of:VertexAttrib4Nusv- See Also:
- Reference Page
-
glVertexAttrib4Nuiv
public static void glVertexAttrib4Nuiv(int index, int[] v)Array version of:VertexAttrib4Nuiv- See Also:
- Reference Page
-
glGetActiveAttrib
public static void glGetActiveAttrib(int program, int index, @Nullable int[] length, int[] size, int[] type, java.nio.ByteBuffer name)Array version of:GetActiveAttrib- See Also:
- Reference Page
-
glGetVertexAttribiv
public static void glGetVertexAttribiv(int index, int pname, int[] params)Array version of:GetVertexAttribiv- See Also:
- Reference Page
-
glGetVertexAttribfv
public static void glGetVertexAttribfv(int index, int pname, float[] params)Array version of:GetVertexAttribfv- See Also:
- Reference Page
-
glGetVertexAttribdv
public static void glGetVertexAttribdv(int index, int pname, double[] params)Array version of:GetVertexAttribdv- See Also:
- Reference Page
-
glDrawBuffers
public static void glDrawBuffers(int[] bufs)
Array version of:DrawBuffers- See Also:
- Reference Page
-
-