Java org.lwjgl.opengl GL20 fields, constructors, methods, implement or subclass

Example usage for Java org.lwjgl.opengl GL20 fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.lwjgl.opengl GL20.

The text is from its open source code.

Field

intGL_SHADING_LANGUAGE_VERSION
Accepted by the name parameter of GetString.
intGL_CURRENT_PROGRAM
Accepted by the pname parameter of GetInteger.
intGL_FLOAT_VEC2
Returned by the type parameter of GetActiveUniform.
intGL_VERTEX_SHADER
Accepted by the type argument of CreateShader and returned by the params parameter of GetShaderiv.
intGL_MAX_VERTEX_UNIFORM_COMPONENTS
Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
intGL_VERTEX_PROGRAM_POINT_SIZE
Accepted by the cap parameter of Disable, Enable, and IsEnabled, and by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
intGL_FRAGMENT_SHADER
Accepted by the type argument of CreateShader and returned by the params parameter of GetShaderiv.
intGL_MAX_FRAGMENT_UNIFORM_COMPONENTS
Accepted by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev.
intGL_POINT_SPRITE
Accepted by the cap parameter of Enable, Disable, and IsEnabled, by the pname parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev, and by the target parameter of TexEnvi, TexEnviv, TexEnvf, TexEnvfv, GetTexEnviv, and GetTexEnvfv.
intGL_POINT_SPRITE_COORD_ORIGIN
Accepted by the pname parameter of PointParameter{if}v.
intGL_LOWER_LEFT
Accepted by the param parameter of PointParameter{if}v.

Method

voidglAttachShader(@NativeType("GLuint") int program, @NativeType("GLuint") int shader)
Attaches a shader object to a program object.
voidglBindAttribLocation(@NativeType("GLuint") int program, @NativeType("GLuint") int index, @NativeType("GLchar const *") ByteBuffer name)
Associates a generic vertex attribute index with a named attribute variable.
voidglBindAttribLocation(@NativeType("GLuint") int program, @NativeType("GLuint") int index, @NativeType("GLchar const *") CharSequence name)
Associates a generic vertex attribute index with a named attribute variable.
voidglBlendEquationSeparate(@NativeType("GLenum") int modeRGB, @NativeType("GLenum") int modeAlpha)
Sets the RGB blend equation and the alpha blend equation separately.
voidglCompileShader(@NativeType("GLuint") int shader)
Compiles a shader object.
intglCreateProgram()
Creates a program object.
intglCreateShader(@NativeType("GLenum") int type)
Creates a shader object.
voidglDeleteProgram(@NativeType("GLuint") int program)
Deletes a program object.
voidglDeleteShader(@NativeType("GLuint") int shader)
Deletes a shader object.
voidglDetachShader(@NativeType("GLuint") int program, @NativeType("GLuint") int shader)
Detaches a shader object from a program object to which it is attached.
voidglDisableVertexAttribArray(@NativeType("GLuint") int index)
Disables a generic vertex attribute array.
voidglDrawBuffers(@NativeType("GLenum const *") IntBuffer bufs)
Specifies a list of color buffers to be drawn into.
voidglDrawBuffers(@NativeType("GLenum const *") int buf)
Specifies a list of color buffers to be drawn into.
voidglDrawBuffers(@NativeType("GLenum const *") int[] bufs)
Array version of: #glDrawBuffers DrawBuffers
voidglEnableVertexAttribArray(@NativeType("GLuint") int index)
Enables a generic vertex attribute array.
StringglGetActiveAttrib(@NativeType("GLuint") int program, @NativeType("GLuint") int index, @NativeType("GLint *") IntBuffer size, @NativeType("GLenum *") IntBuffer type)
Returns information about an active attribute variable for the specified program object.
StringglGetActiveAttrib(@NativeType("GLuint") int program, @NativeType("GLuint") int index, @NativeType("GLsizei") int maxLength, @NativeType("GLint *") IntBuffer size, @NativeType("GLenum *") IntBuffer type)
Returns information about an active attribute variable for the specified program object.
voidglGetActiveAttrib(@NativeType("GLuint") int program, @NativeType("GLuint") int index, @Nullable @NativeType("GLsizei *") IntBuffer length, @NativeType("GLint *") IntBuffer size, @NativeType("GLenum *") IntBuffer type, @NativeType("GLchar *") ByteBuffer name)
Returns information about an active attribute variable for the specified program object.
voidglGetActiveAttrib(@NativeType("GLuint") int program, @NativeType("GLuint") int index, @Nullable @NativeType("GLsizei *") int[] length, @NativeType("GLint *") int[] size, @NativeType("GLenum *") int[] type, @NativeType("GLchar *") ByteBuffer name)
Array version of: #glGetActiveAttrib GetActiveAttrib
StringglGetActiveUniform(@NativeType("GLuint") int program, @NativeType("GLuint") int index, @NativeType("GLint *") IntBuffer size, @NativeType("GLenum *") IntBuffer type)
Returns information about an active uniform variable for the specified program object.
StringglGetActiveUniform(@NativeType("GLuint") int program, @NativeType("GLuint") int index, @NativeType("GLsizei") int maxLength, @NativeType("GLint *") IntBuffer size, @NativeType("GLenum *") IntBuffer type)
Returns information about an active uniform variable for the specified program object.
voidglGetActiveUniform(@NativeType("GLuint") int program, @NativeType("GLuint") int index, @Nullable @NativeType("GLsizei *") IntBuffer length, @NativeType("GLint *") IntBuffer size, @NativeType("GLenum *") IntBuffer type, @NativeType("GLchar *") ByteBuffer name)
Returns information about an active uniform variable for the specified program object.
voidglGetActiveUniform(@NativeType("GLuint") int program, @NativeType("GLuint") int index, @Nullable @NativeType("GLsizei *") int[] length, @NativeType("GLint *") int[] size, @NativeType("GLenum *") int[] type, @NativeType("GLchar *") ByteBuffer name)
Array version of: #glGetActiveUniform GetActiveUniform
voidglGetAttachedShaders(@NativeType("GLuint") int program, @Nullable @NativeType("GLsizei *") IntBuffer count, @NativeType("GLuint *") IntBuffer shaders)
Returns the shader objects attached to a program object.
voidglGetAttachedShaders(@NativeType("GLuint") int program, @Nullable @NativeType("GLsizei *") int[] count, @NativeType("GLuint *") int[] shaders)
Array version of: #glGetAttachedShaders GetAttachedShaders
intglGetAttribLocation(@NativeType("GLuint") int program, @NativeType("GLchar const *") ByteBuffer name)
Returns the location of an attribute variable.
intglGetAttribLocation(@NativeType("GLuint") int program, @NativeType("GLchar const *") CharSequence name)
Returns the location of an attribute variable.
intglGetProgrami(@NativeType("GLuint") int program, @NativeType("GLenum") int pname)
Returns a parameter from a program object.
StringglGetProgramInfoLog(@NativeType("GLuint") int program)
Returns the information log for a program object.
voidglGetProgramInfoLog(@NativeType("GLuint") int program, @Nullable @NativeType("GLsizei *") IntBuffer length, @NativeType("GLchar *") ByteBuffer infoLog)
Returns the information log for a program object.
voidglGetProgramInfoLog(@NativeType("GLuint") int program, @Nullable @NativeType("GLsizei *") int[] length, @NativeType("GLchar *") ByteBuffer infoLog)
Array version of: #glGetProgramInfoLog GetProgramInfoLog
StringglGetProgramInfoLog(@NativeType("GLuint") int program, @NativeType("GLsizei") int maxLength)
Returns the information log for a program object.
voidglGetProgramiv(@NativeType("GLuint") int program, @NativeType("GLenum") int pname, @NativeType("GLint *") IntBuffer params)
Returns a parameter from a program object.
voidglGetProgramiv(@NativeType("GLuint") int program, @NativeType("GLenum") int pname, @NativeType("GLint *") int[] params)
Array version of: #glGetProgramiv GetProgramiv
intglGetShaderi(@NativeType("GLuint") int shader, @NativeType("GLenum") int pname)
Returns a parameter from a shader object.
StringglGetShaderInfoLog(@NativeType("GLuint") int shader, @NativeType("GLsizei") int maxLength)
Returns the information log for a shader object.
StringglGetShaderInfoLog(@NativeType("GLuint") int shader)
Returns the information log for a shader object.
voidglGetShaderInfoLog(@NativeType("GLuint") int shader, @Nullable @NativeType("GLsizei *") IntBuffer length, @NativeType("GLchar *") ByteBuffer infoLog)
Returns the information log for a shader object.
voidglGetShaderInfoLog(@NativeType("GLuint") int shader, @Nullable @NativeType("GLsizei *") int[] length, @NativeType("GLchar *") ByteBuffer infoLog)
Array version of: #glGetShaderInfoLog GetShaderInfoLog
voidglGetShaderiv(@NativeType("GLuint") int shader, @NativeType("GLenum") int pname, @NativeType("GLint *") IntBuffer params)
Returns a parameter from a shader object.
voidglGetShaderiv(@NativeType("GLuint") int shader, @NativeType("GLenum") int pname, @NativeType("GLint *") int[] params)
Array version of: #glGetShaderiv GetShaderiv
StringglGetShaderSource(@NativeType("GLuint") int shader, @NativeType("GLsizei") int maxLength)
Returns the source code string from a shader object.
voidglGetShaderSource(@NativeType("GLuint") int shader, @Nullable @NativeType("GLsizei *") IntBuffer length, @NativeType("GLchar *") ByteBuffer source)
Returns the source code string from a shader object.
voidglGetShaderSource(@NativeType("GLuint") int shader, @Nullable @NativeType("GLsizei *") int[] length, @NativeType("GLchar *") ByteBuffer source)
Array version of: #glGetShaderSource GetShaderSource
voidglGetUniformfv(@NativeType("GLuint") int program, @NativeType("GLint") int location, @NativeType("GLfloat *") FloatBuffer params)
Returns the float value(s) of a uniform variable.
voidglGetUniformfv(@NativeType("GLuint") int program, @NativeType("GLint") int location, @NativeType("GLfloat *") float[] params)
Array version of: #glGetUniformfv GetUniformfv
voidglGetUniformiv(@NativeType("GLuint") int program, @NativeType("GLint") int location, @NativeType("GLint *") IntBuffer params)
Returns the int value(s) of a uniform variable.
voidglGetUniformiv(@NativeType("GLuint") int program, @NativeType("GLint") int location, @NativeType("GLint *") int[] params)
Array version of: #glGetUniformiv GetUniformiv
intglGetUniformLocation(@NativeType("GLuint") int program, @NativeType("GLchar const *") ByteBuffer name)
Returns the location of a uniform variable.
intglGetUniformLocation(@NativeType("GLuint") int program, @NativeType("GLchar const *") CharSequence name)
Returns the location of a uniform variable.
voidglGetVertexAttribfv(@NativeType("GLuint") int index, @NativeType("GLenum") int pname, @NativeType("GLfloat *") FloatBuffer params)
Float version of #glGetVertexAttribiv GetVertexAttribiv .
voidglGetVertexAttribfv(@NativeType("GLuint") int index, @NativeType("GLenum") int pname, @NativeType("GLfloat *") float[] params)
Array version of: #glGetVertexAttribfv GetVertexAttribfv
voidglGetVertexAttribiv(@NativeType("GLuint") int index, @NativeType("GLenum") int pname, @NativeType("GLint *") IntBuffer params)
Returns the integer value of a generic vertex attribute parameter.
voidglGetVertexAttribiv(@NativeType("GLuint") int index, @NativeType("GLenum") int pname, @NativeType("GLint *") int[] params)
Array version of: #glGetVertexAttribiv GetVertexAttribiv
voidglGetVertexAttribPointerv(@NativeType("GLuint") int index, @NativeType("GLenum") int pname, @NativeType("void **") PointerBuffer pointer)
Returns the address of the specified generic vertex attribute pointer.
booleanglIsProgram(@NativeType("GLuint") int program)
Returns GL11#GL_TRUE TRUE if program is the name of a program object.
booleanglIsShader(@NativeType("GLuint") int shader)
Returns GL11#GL_TRUE TRUE if shader is the name of a shader object.
voidglLinkProgram(@NativeType("GLuint") int program)
Links a program object.
voidglShaderSource(@NativeType("GLuint") int shader, @NativeType("GLchar const **") CharSequence... strings)
Sets the source code in shader to the source code in the array of strings specified by strings .
voidglShaderSource(@NativeType("GLuint") int shader, @NativeType("GLchar const **") CharSequence string)
Sets the source code in shader to the source code in the array of strings specified by strings .
voidglStencilFuncSeparate(@NativeType("GLenum") int face, @NativeType("GLenum") int func, @NativeType("GLint") int ref, @NativeType("GLuint") int mask)
Sets front and/or back function and reference value for stencil testing.
voidglStencilMaskSeparate(@NativeType("GLenum") int face, @NativeType("GLuint") int mask)
Controls the front and/or back writing of individual bits in the stencil planes.
voidglStencilOpSeparate(@NativeType("GLenum") int face, @NativeType("GLenum") int sfail, @NativeType("GLenum") int dpfail, @NativeType("GLenum") int dppass)
Sets front and/or back stencil test actions.
voidglUniform1f(@NativeType("GLint") int location, @NativeType("GLfloat") float v0)
Specifies the value of a float uniform variable for the current program object.
voidglUniform1fv(@NativeType("GLint") int location, @NativeType("GLfloat const *") FloatBuffer value)
Specifies the value of a single float uniform variable or a float uniform variable array for the current program object.
voidglUniform1fv(@NativeType("GLint") int location, @NativeType("GLfloat const *") float[] value)
Array version of: #glUniform1fv Uniform1fv
voidglUniform1i(@NativeType("GLint") int location, @NativeType("GLint") int v0)
Specifies the value of an int uniform variable for the current program object.
voidglUniform1iv(@NativeType("GLint") int location, @NativeType("GLint const *") IntBuffer value)
Specifies the value of a single int uniform variable or a int uniform variable array for the current program object.
voidglUniform1iv(@NativeType("GLint") int location, @NativeType("GLint const *") int[] value)
Array version of: #glUniform1iv Uniform1iv
voidglUniform2f(@NativeType("GLint") int location, @NativeType("GLfloat") float v0, @NativeType("GLfloat") float v1)
Specifies the value of a vec2 uniform variable for the current program object.
voidglUniform2fv(@NativeType("GLint") int location, @NativeType("GLfloat const *") FloatBuffer value)
Specifies the value of a single vec2 uniform variable or a vec2 uniform variable array for the current program object.
voidglUniform2fv(@NativeType("GLint") int location, @NativeType("GLfloat const *") float[] value)
Array version of: #glUniform2fv Uniform2fv
voidglUniform2i(@NativeType("GLint") int location, @NativeType("GLint") int v0, @NativeType("GLint") int v1)
Specifies the value of an ivec2 uniform variable for the current program object.
voidglUniform2iv(@NativeType("GLint") int location, @NativeType("GLint const *") IntBuffer value)
Specifies the value of a single ivec2 uniform variable or an ivec2 uniform variable array for the current program object.
voidglUniform2iv(@NativeType("GLint") int location, @NativeType("GLint const *") int[] value)
Array version of: #glUniform2iv Uniform2iv
voidglUniform3f(@NativeType("GLint") int location, @NativeType("GLfloat") float v0, @NativeType("GLfloat") float v1, @NativeType("GLfloat") float v2)
Specifies the value of a vec3 uniform variable for the current program object.
voidglUniform3fv(@NativeType("GLint") int location, @NativeType("GLfloat const *") FloatBuffer value)
Specifies the value of a single vec3 uniform variable or a vec3 uniform variable array for the current program object.
voidglUniform3fv(@NativeType("GLint") int location, @NativeType("GLfloat const *") float[] value)
Array version of: #glUniform3fv Uniform3fv
voidglUniform3i(@NativeType("GLint") int location, @NativeType("GLint") int v0, @NativeType("GLint") int v1, @NativeType("GLint") int v2)
Specifies the value of an ivec3 uniform variable for the current program object.
voidglUniform3iv(@NativeType("GLint") int location, @NativeType("GLint const *") IntBuffer value)
Specifies the value of a single ivec3 uniform variable or an ivec3 uniform variable array for the current program object.
voidglUniform3iv(@NativeType("GLint") int location, @NativeType("GLint const *") int[] value)
Array version of: #glUniform3iv Uniform3iv
voidglUniform4f(@NativeType("GLint") int location, @NativeType("GLfloat") float v0, @NativeType("GLfloat") float v1, @NativeType("GLfloat") float v2, @NativeType("GLfloat") float v3)
Specifies the value of a vec4 uniform variable for the current program object.
voidglUniform4fv(@NativeType("GLint") int location, @NativeType("GLfloat const *") FloatBuffer value)
Specifies the value of a single vec4 uniform variable or a vec4 uniform variable array for the current program object.
voidglUniform4fv(@NativeType("GLint") int location, @NativeType("GLfloat const *") float[] value)
Array version of: #glUniform4fv Uniform4fv
voidglUniform4i(@NativeType("GLint") int location, @NativeType("GLint") int v0, @NativeType("GLint") int v1, @NativeType("GLint") int v2, @NativeType("GLint") int v3)
Specifies the value of an ivec4 uniform variable for the current program object.
voidglUniform4iv(@NativeType("GLint") int location, @NativeType("GLint const *") IntBuffer value)
Specifies the value of a single ivec4 uniform variable or an ivec4 uniform variable array for the current program object.
voidglUniform4iv(@NativeType("GLint") int location, @NativeType("GLint const *") int[] value)
Array version of: #glUniform4iv Uniform4iv
voidglUniformMatrix2fv(@NativeType("GLint") int location, @NativeType("GLboolean") boolean transpose, @NativeType("GLfloat const *") FloatBuffer value)
Specifies the value of a single mat2 uniform variable or a mat2 uniform variable array for the current program object.
voidglUniformMatrix2fv(@NativeType("GLint") int location, @NativeType("GLboolean") boolean transpose, @NativeType("GLfloat const *") float[] value)
Array version of: #glUniformMatrix2fv UniformMatrix2fv
voidglUniformMatrix3fv(@NativeType("GLint") int location, @NativeType("GLboolean") boolean transpose, @NativeType("GLfloat const *") FloatBuffer value)
Specifies the value of a single mat3 uniform variable or a mat3 uniform variable array for the current program object.
voidglUniformMatrix3fv(@NativeType("GLint") int location, @NativeType("GLboolean") boolean transpose, @NativeType("GLfloat const *") float[] value)
Array version of: #glUniformMatrix3fv UniformMatrix3fv
voidglUniformMatrix4fv(@NativeType("GLint") int location, @NativeType("GLboolean") boolean transpose, @NativeType("GLfloat const *") FloatBuffer value)
Specifies the value of a single mat4 uniform variable or a mat4 uniform variable array for the current program object.
voidglUniformMatrix4fv(@NativeType("GLint") int location, @NativeType("GLboolean") boolean transpose, @NativeType("GLfloat const *") float[] value)
Array version of: #glUniformMatrix4fv UniformMatrix4fv
voidglUseProgram(@NativeType("GLuint") int program)
Installs a program object as part of current rendering state.
voidglValidateProgram(@NativeType("GLuint") int program)
Validates a program object.
voidglVertexAttrib1d(@NativeType("GLuint") int index, @NativeType("GLdouble") double v0)
Double version of #glVertexAttrib1f VertexAttrib1f .
voidglVertexAttrib1f(@NativeType("GLuint") int index, @NativeType("GLfloat") float v0)
Specifies the value of a generic vertex attribute.
voidglVertexAttrib1fv(@NativeType("GLuint") int index, @NativeType("GLfloat const *") FloatBuffer v)
Pointer version of #glVertexAttrib1f VertexAttrib1f .
voidglVertexAttrib1fv(@NativeType("GLuint") int index, @NativeType("GLfloat const *") float[] v)
Array version of: #glVertexAttrib1fv VertexAttrib1fv
voidglVertexAttrib1s(@NativeType("GLuint") int index, @NativeType("GLshort") short v0)
Short version of #glVertexAttrib1f VertexAttrib1f .
voidglVertexAttrib2d(@NativeType("GLuint") int index, @NativeType("GLdouble") double v0, @NativeType("GLdouble") double v1)
Double version of #glVertexAttrib2f VertexAttrib2f .
voidglVertexAttrib2f(@NativeType("GLuint") int index, @NativeType("GLfloat") float v0, @NativeType("GLfloat") float v1)
Specifies the value of a generic vertex attribute.
voidglVertexAttrib2fv(@NativeType("GLuint") int index, @NativeType("GLfloat const *") FloatBuffer v)
Pointer version of #glVertexAttrib2f VertexAttrib2f .
voidglVertexAttrib2fv(@NativeType("GLuint") int index, @NativeType("GLfloat const *") float[] v)
Array version of: #glVertexAttrib2fv VertexAttrib2fv
voidglVertexAttrib2s(@NativeType("GLuint") int index, @NativeType("GLshort") short v0, @NativeType("GLshort") short v1)
Short version of #glVertexAttrib2f VertexAttrib2f .
voidglVertexAttrib3d(@NativeType("GLuint") int index, @NativeType("GLdouble") double v0, @NativeType("GLdouble") double v1, @NativeType("GLdouble") double v2)
Double version of #glVertexAttrib3f VertexAttrib3f .
voidglVertexAttrib3f(@NativeType("GLuint") int index, @NativeType("GLfloat") float v0, @NativeType("GLfloat") float v1, @NativeType("GLfloat") float v2)
Specifies the value of a generic vertex attribute.
voidglVertexAttrib3fv(@NativeType("GLuint") int index, @NativeType("GLfloat const *") FloatBuffer v)
Pointer version of #glVertexAttrib3f VertexAttrib3f .
voidglVertexAttrib3fv(@NativeType("GLuint") int index, @NativeType("GLfloat const *") float[] v)
Array version of: #glVertexAttrib3fv VertexAttrib3fv
voidglVertexAttrib3s(@NativeType("GLuint") int index, @NativeType("GLshort") short v0, @NativeType("GLshort") short v1, @NativeType("GLshort") short v2)
Short version of #glVertexAttrib3f VertexAttrib3f .
voidglVertexAttrib4d(@NativeType("GLuint") int index, @NativeType("GLdouble") double v0, @NativeType("GLdouble") double v1, @NativeType("GLdouble") double v2, @NativeType("GLdouble") double v3)
Double version of #glVertexAttrib4f VertexAttrib4f .
voidglVertexAttrib4f(@NativeType("GLuint") int index, @NativeType("GLfloat") float v0, @NativeType("GLfloat") float v1, @NativeType("GLfloat") float v2, @NativeType("GLfloat") float v3)
Specifies the value of a generic vertex attribute.
voidglVertexAttrib4fv(@NativeType("GLuint") int index, @NativeType("GLfloat const *") FloatBuffer v)
Pointer version of #glVertexAttrib4f VertexAttrib4f .
voidglVertexAttrib4fv(@NativeType("GLuint") int index, @NativeType("GLfloat const *") float[] v)
Array version of: #glVertexAttrib4fv VertexAttrib4fv
voidglVertexAttrib4Nub(@NativeType("GLuint") int index, @NativeType("GLubyte") byte x, @NativeType("GLubyte") byte y, @NativeType("GLubyte") byte z, @NativeType("GLubyte") byte w)
Normalized unsigned byte version of #glVertexAttrib4f VertexAttrib4f .
voidglVertexAttrib4s(@NativeType("GLuint") int index, @NativeType("GLshort") short v0, @NativeType("GLshort") short v1, @NativeType("GLshort") short v2, @NativeType("GLshort") short v3)
Short version of #glVertexAttrib4f VertexAttrib4f .
voidglVertexAttribPointer(@NativeType("GLuint") int index, @NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLboolean") boolean normalized, @NativeType("GLsizei") int stride, @NativeType("void const *") ByteBuffer pointer)
Specifies the location and organization of a vertex attribute array.
voidglVertexAttribPointer(@NativeType("GLuint") int index, @NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLboolean") boolean normalized, @NativeType("GLsizei") int stride, @NativeType("void const *") long pointer)
Specifies the location and organization of a vertex attribute array.
voidglVertexAttribPointer(@NativeType("GLuint") int index, @NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLboolean") boolean normalized, @NativeType("GLsizei") int stride, @NativeType("void const *") ShortBuffer pointer)
Specifies the location and organization of a vertex attribute array.
voidglVertexAttribPointer(@NativeType("GLuint") int index, @NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLboolean") boolean normalized, @NativeType("GLsizei") int stride, @NativeType("void const *") IntBuffer pointer)
Specifies the location and organization of a vertex attribute array.
voidglVertexAttribPointer(@NativeType("GLuint") int index, @NativeType("GLint") int size, @NativeType("GLenum") int type, @NativeType("GLboolean") boolean normalized, @NativeType("GLsizei") int stride, @NativeType("void const *") FloatBuffer pointer)
Specifies the location and organization of a vertex attribute array.
voidnglDrawBuffers(int n, long bufs)
Unsafe version of: #glDrawBuffers DrawBuffers
voidnglGetActiveAttrib(int program, int index, int maxLength, long length, long size, long type, long name)
Unsafe version of: #glGetActiveAttrib GetActiveAttrib
intnglGetAttribLocation(int program, long name)
Unsafe version of: #glGetAttribLocation GetAttribLocation
voidnglShaderSource(int shader, int count, long strings, long length)
Unsafe version of: #glShaderSource ShaderSource
voidnglUniform1fv(int location, int count, long value)
Unsafe version of: #glUniform1fv Uniform1fv
voidnglUniform1iv(int location, int count, long value)
Unsafe version of: #glUniform1iv Uniform1iv
voidnglUniform2fv(int location, int count, long value)
Unsafe version of: #glUniform2fv Uniform2fv
voidnglUniform3fv(int location, int count, long value)
Unsafe version of: #glUniform3fv Uniform3fv
voidnglUniform4fv(int location, int count, long value)
Unsafe version of: #glUniform4fv Uniform4fv
voidnglUniformMatrix2fv(int location, int count, boolean transpose, long value)
Unsafe version of: #glUniformMatrix2fv UniformMatrix2fv
voidnglUniformMatrix3fv(int location, int count, boolean transpose, long value)
Unsafe version of: #glUniformMatrix3fv UniformMatrix3fv
voidnglUniformMatrix4fv(int location, int count, boolean transpose, long value)
Unsafe version of: #glUniformMatrix4fv UniformMatrix4fv
voidnglVertexAttribPointer(int index, int size, int type, boolean normalized, int stride, long pointer)
Unsafe version of: #glVertexAttribPointer VertexAttribPointer