pub trait GL_3_3 {
Show 59 methods
// Required methods
fn glGetError(&self) -> GLenum;
fn glBindFragDataLocationIndexed(
&self,
program: GLuint,
colorNumber: GLuint,
index: GLuint,
name: *const GLchar,
) -> Result<(), GLCoreError>;
fn glGetFragDataIndex(
&self,
program: GLuint,
name: *const GLchar,
) -> Result<GLint, GLCoreError>;
fn glGenSamplers(
&self,
count: GLsizei,
samplers: *mut GLuint,
) -> Result<(), GLCoreError>;
fn glDeleteSamplers(
&self,
count: GLsizei,
samplers: *const GLuint,
) -> Result<(), GLCoreError>;
fn glIsSampler(&self, sampler: GLuint) -> Result<GLboolean, GLCoreError>;
fn glBindSampler(
&self,
unit: GLuint,
sampler: GLuint,
) -> Result<(), GLCoreError>;
fn glSamplerParameteri(
&self,
sampler: GLuint,
pname: GLenum,
param: GLint,
) -> Result<(), GLCoreError>;
fn glSamplerParameteriv(
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLint,
) -> Result<(), GLCoreError>;
fn glSamplerParameterf(
&self,
sampler: GLuint,
pname: GLenum,
param: GLfloat,
) -> Result<(), GLCoreError>;
fn glSamplerParameterfv(
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLfloat,
) -> Result<(), GLCoreError>;
fn glSamplerParameterIiv(
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLint,
) -> Result<(), GLCoreError>;
fn glSamplerParameterIuiv(
&self,
sampler: GLuint,
pname: GLenum,
param: *const GLuint,
) -> Result<(), GLCoreError>;
fn glGetSamplerParameteriv(
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLint,
) -> Result<(), GLCoreError>;
fn glGetSamplerParameterIiv(
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLint,
) -> Result<(), GLCoreError>;
fn glGetSamplerParameterfv(
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLfloat,
) -> Result<(), GLCoreError>;
fn glGetSamplerParameterIuiv(
&self,
sampler: GLuint,
pname: GLenum,
params: *mut GLuint,
) -> Result<(), GLCoreError>;
fn glQueryCounter(
&self,
id: GLuint,
target: GLenum,
) -> Result<(), GLCoreError>;
fn glGetQueryObjecti64v(
&self,
id: GLuint,
pname: GLenum,
params: *mut GLint64,
) -> Result<(), GLCoreError>;
fn glGetQueryObjectui64v(
&self,
id: GLuint,
pname: GLenum,
params: *mut GLuint64,
) -> Result<(), GLCoreError>;
fn glVertexAttribDivisor(
&self,
index: GLuint,
divisor: GLuint,
) -> Result<(), GLCoreError>;
fn glVertexAttribP1ui(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: GLuint,
) -> Result<(), GLCoreError>;
fn glVertexAttribP1uiv(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: *const GLuint,
) -> Result<(), GLCoreError>;
fn glVertexAttribP2ui(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: GLuint,
) -> Result<(), GLCoreError>;
fn glVertexAttribP2uiv(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: *const GLuint,
) -> Result<(), GLCoreError>;
fn glVertexAttribP3ui(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: GLuint,
) -> Result<(), GLCoreError>;
fn glVertexAttribP3uiv(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: *const GLuint,
) -> Result<(), GLCoreError>;
fn glVertexAttribP4ui(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: GLuint,
) -> Result<(), GLCoreError>;
fn glVertexAttribP4uiv(
&self,
index: GLuint,
type_: GLenum,
normalized: GLboolean,
value: *const GLuint,
) -> Result<(), GLCoreError>;
fn glVertexP2ui(
&self,
type_: GLenum,
value: GLuint,
) -> Result<(), GLCoreError>;
fn glVertexP2uiv(
&self,
type_: GLenum,
value: *const GLuint,
) -> Result<(), GLCoreError>;
fn glVertexP3ui(
&self,
type_: GLenum,
value: GLuint,
) -> Result<(), GLCoreError>;
fn glVertexP3uiv(
&self,
type_: GLenum,
value: *const GLuint,
) -> Result<(), GLCoreError>;
fn glVertexP4ui(
&self,
type_: GLenum,
value: GLuint,
) -> Result<(), GLCoreError>;
fn glVertexP4uiv(
&self,
type_: GLenum,
value: *const GLuint,
) -> Result<(), GLCoreError>;
fn glTexCoordP1ui(
&self,
type_: GLenum,
coords: GLuint,
) -> Result<(), GLCoreError>;
fn glTexCoordP1uiv(
&self,
type_: GLenum,
coords: *const GLuint,
) -> Result<(), GLCoreError>;
fn glTexCoordP2ui(
&self,
type_: GLenum,
coords: GLuint,
) -> Result<(), GLCoreError>;
fn glTexCoordP2uiv(
&self,
type_: GLenum,
coords: *const GLuint,
) -> Result<(), GLCoreError>;
fn glTexCoordP3ui(
&self,
type_: GLenum,
coords: GLuint,
) -> Result<(), GLCoreError>;
fn glTexCoordP3uiv(
&self,
type_: GLenum,
coords: *const GLuint,
) -> Result<(), GLCoreError>;
fn glTexCoordP4ui(
&self,
type_: GLenum,
coords: GLuint,
) -> Result<(), GLCoreError>;
fn glTexCoordP4uiv(
&self,
type_: GLenum,
coords: *const GLuint,
) -> Result<(), GLCoreError>;
fn glMultiTexCoordP1ui(
&self,
texture: GLenum,
type_: GLenum,
coords: GLuint,
) -> Result<(), GLCoreError>;
fn glMultiTexCoordP1uiv(
&self,
texture: GLenum,
type_: GLenum,
coords: *const GLuint,
) -> Result<(), GLCoreError>;
fn glMultiTexCoordP2ui(
&self,
texture: GLenum,
type_: GLenum,
coords: GLuint,
) -> Result<(), GLCoreError>;
fn glMultiTexCoordP2uiv(
&self,
texture: GLenum,
type_: GLenum,
coords: *const GLuint,
) -> Result<(), GLCoreError>;
fn glMultiTexCoordP3ui(
&self,
texture: GLenum,
type_: GLenum,
coords: GLuint,
) -> Result<(), GLCoreError>;
fn glMultiTexCoordP3uiv(
&self,
texture: GLenum,
type_: GLenum,
coords: *const GLuint,
) -> Result<(), GLCoreError>;
fn glMultiTexCoordP4ui(
&self,
texture: GLenum,
type_: GLenum,
coords: GLuint,
) -> Result<(), GLCoreError>;
fn glMultiTexCoordP4uiv(
&self,
texture: GLenum,
type_: GLenum,
coords: *const GLuint,
) -> Result<(), GLCoreError>;
fn glNormalP3ui(
&self,
type_: GLenum,
coords: GLuint,
) -> Result<(), GLCoreError>;
fn glNormalP3uiv(
&self,
type_: GLenum,
coords: *const GLuint,
) -> Result<(), GLCoreError>;
fn glColorP3ui(
&self,
type_: GLenum,
color: GLuint,
) -> Result<(), GLCoreError>;
fn glColorP3uiv(
&self,
type_: GLenum,
color: *const GLuint,
) -> Result<(), GLCoreError>;
fn glColorP4ui(
&self,
type_: GLenum,
color: GLuint,
) -> Result<(), GLCoreError>;
fn glColorP4uiv(
&self,
type_: GLenum,
color: *const GLuint,
) -> Result<(), GLCoreError>;
fn glSecondaryColorP3ui(
&self,
type_: GLenum,
color: GLuint,
) -> Result<(), GLCoreError>;
fn glSecondaryColorP3uiv(
&self,
type_: GLenum,
color: *const GLuint,
) -> Result<(), GLCoreError>;
}
Expand description
Functions from OpenGL version 3.3