pub trait GL_1_4 {
Show 48 methods
// Required methods
fn glGetError(&self) -> GLenum;
fn glBlendFuncSeparate(
&self,
sfactorRGB: GLenum,
dfactorRGB: GLenum,
sfactorAlpha: GLenum,
dfactorAlpha: GLenum,
) -> Result<(), GLCoreError>;
fn glMultiDrawArrays(
&self,
mode: GLenum,
first: *const GLint,
count: *const GLsizei,
drawcount: GLsizei,
) -> Result<(), GLCoreError>;
fn glMultiDrawElements(
&self,
mode: GLenum,
count: *const GLsizei,
type_: GLenum,
indices: *const *const c_void,
drawcount: GLsizei,
) -> Result<(), GLCoreError>;
fn glPointParameterf(
&self,
pname: GLenum,
param: GLfloat,
) -> Result<(), GLCoreError>;
fn glPointParameterfv(
&self,
pname: GLenum,
params: *const GLfloat,
) -> Result<(), GLCoreError>;
fn glPointParameteri(
&self,
pname: GLenum,
param: GLint,
) -> Result<(), GLCoreError>;
fn glPointParameteriv(
&self,
pname: GLenum,
params: *const GLint,
) -> Result<(), GLCoreError>;
fn glFogCoordf(&self, coord: GLfloat) -> Result<(), GLCoreError>;
fn glFogCoordfv(&self, coord: *const GLfloat) -> Result<(), GLCoreError>;
fn glFogCoordd(&self, coord: GLdouble) -> Result<(), GLCoreError>;
fn glFogCoorddv(&self, coord: *const GLdouble) -> Result<(), GLCoreError>;
fn glFogCoordPointer(
&self,
type_: GLenum,
stride: GLsizei,
pointer: *const c_void,
) -> Result<(), GLCoreError>;
fn glSecondaryColor3b(
&self,
red: GLbyte,
green: GLbyte,
blue: GLbyte,
) -> Result<(), GLCoreError>;
fn glSecondaryColor3bv(&self, v: *const GLbyte) -> Result<(), GLCoreError>;
fn glSecondaryColor3d(
&self,
red: GLdouble,
green: GLdouble,
blue: GLdouble,
) -> Result<(), GLCoreError>;
fn glSecondaryColor3dv(&self, v: *const GLdouble) -> Result<(), GLCoreError>;
fn glSecondaryColor3f(
&self,
red: GLfloat,
green: GLfloat,
blue: GLfloat,
) -> Result<(), GLCoreError>;
fn glSecondaryColor3fv(&self, v: *const GLfloat) -> Result<(), GLCoreError>;
fn glSecondaryColor3i(
&self,
red: GLint,
green: GLint,
blue: GLint,
) -> Result<(), GLCoreError>;
fn glSecondaryColor3iv(&self, v: *const GLint) -> Result<(), GLCoreError>;
fn glSecondaryColor3s(
&self,
red: GLshort,
green: GLshort,
blue: GLshort,
) -> Result<(), GLCoreError>;
fn glSecondaryColor3sv(&self, v: *const GLshort) -> Result<(), GLCoreError>;
fn glSecondaryColor3ub(
&self,
red: GLubyte,
green: GLubyte,
blue: GLubyte,
) -> Result<(), GLCoreError>;
fn glSecondaryColor3ubv(&self, v: *const GLubyte) -> Result<(), GLCoreError>;
fn glSecondaryColor3ui(
&self,
red: GLuint,
green: GLuint,
blue: GLuint,
) -> Result<(), GLCoreError>;
fn glSecondaryColor3uiv(&self, v: *const GLuint) -> Result<(), GLCoreError>;
fn glSecondaryColor3us(
&self,
red: GLushort,
green: GLushort,
blue: GLushort,
) -> Result<(), GLCoreError>;
fn glSecondaryColor3usv(
&self,
v: *const GLushort,
) -> Result<(), GLCoreError>;
fn glSecondaryColorPointer(
&self,
size: GLint,
type_: GLenum,
stride: GLsizei,
pointer: *const c_void,
) -> Result<(), GLCoreError>;
fn glWindowPos2d(&self, x: GLdouble, y: GLdouble) -> Result<(), GLCoreError>;
fn glWindowPos2dv(&self, v: *const GLdouble) -> Result<(), GLCoreError>;
fn glWindowPos2f(&self, x: GLfloat, y: GLfloat) -> Result<(), GLCoreError>;
fn glWindowPos2fv(&self, v: *const GLfloat) -> Result<(), GLCoreError>;
fn glWindowPos2i(&self, x: GLint, y: GLint) -> Result<(), GLCoreError>;
fn glWindowPos2iv(&self, v: *const GLint) -> Result<(), GLCoreError>;
fn glWindowPos2s(&self, x: GLshort, y: GLshort) -> Result<(), GLCoreError>;
fn glWindowPos2sv(&self, v: *const GLshort) -> Result<(), GLCoreError>;
fn glWindowPos3d(
&self,
x: GLdouble,
y: GLdouble,
z: GLdouble,
) -> Result<(), GLCoreError>;
fn glWindowPos3dv(&self, v: *const GLdouble) -> Result<(), GLCoreError>;
fn glWindowPos3f(
&self,
x: GLfloat,
y: GLfloat,
z: GLfloat,
) -> Result<(), GLCoreError>;
fn glWindowPos3fv(&self, v: *const GLfloat) -> Result<(), GLCoreError>;
fn glWindowPos3i(
&self,
x: GLint,
y: GLint,
z: GLint,
) -> Result<(), GLCoreError>;
fn glWindowPos3iv(&self, v: *const GLint) -> Result<(), GLCoreError>;
fn glWindowPos3s(
&self,
x: GLshort,
y: GLshort,
z: GLshort,
) -> Result<(), GLCoreError>;
fn glWindowPos3sv(&self, v: *const GLshort) -> Result<(), GLCoreError>;
fn glBlendColor(
&self,
red: GLfloat,
green: GLfloat,
blue: GLfloat,
alpha: GLfloat,
) -> Result<(), GLCoreError>;
fn glBlendEquation(&self, mode: GLenum) -> Result<(), GLCoreError>;
}
Expand description
Functions from OpenGL version 1.4