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