pub struct Version20 { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl GL_2_0 for Version20
impl GL_2_0 for Version20
fn glBlendEquationSeparate(&self, modeRGB: u32, modeAlpha: u32)
fn glDrawBuffers(&self, n: i32, bufs: *const u32)
fn glStencilOpSeparate(&self, face: u32, sfail: u32, dpfail: u32, dppass: u32)
fn glStencilFuncSeparate(&self, face: u32, func: u32, ref_: i32, mask: u32)
fn glStencilMaskSeparate(&self, face: u32, mask: u32)
fn glAttachShader(&self, program: u32, shader: u32)
fn glBindAttribLocation(&self, program: u32, index: u32, name: *const i8)
fn glCompileShader(&self, shader: u32)
fn glCreateProgram(&self) -> u32
fn glCreateShader(&self, type_: u32) -> u32
fn glDeleteProgram(&self, program: u32)
fn glDeleteShader(&self, shader: u32)
fn glDetachShader(&self, program: u32, shader: u32)
fn glDisableVertexAttribArray(&self, index: u32)
fn glEnableVertexAttribArray(&self, index: u32)
fn glGetActiveAttrib( &self, program: u32, index: u32, bufSize: i32, length: *mut i32, size: *mut i32, type_: *mut u32, name: *mut i8, )
fn glGetActiveUniform( &self, program: u32, index: u32, bufSize: i32, length: *mut i32, size: *mut i32, type_: *mut u32, name: *mut i8, )
fn glGetAttachedShaders( &self, program: u32, maxCount: i32, count: *mut i32, shaders: *mut u32, )
fn glGetAttribLocation(&self, program: u32, name: *const i8) -> i32
fn glGetProgramiv(&self, program: u32, pname: u32, params: *mut i32)
fn glGetProgramInfoLog( &self, program: u32, bufSize: i32, length: *mut i32, infoLog: *mut i8, )
fn glGetShaderiv(&self, shader: u32, pname: u32, params: *mut i32)
fn glGetShaderInfoLog( &self, shader: u32, bufSize: i32, length: *mut i32, infoLog: *mut i8, )
fn glGetShaderSource( &self, shader: u32, bufSize: i32, length: *mut i32, source: *mut i8, )
fn glGetUniformLocation(&self, program: u32, name: *const i8) -> i32
fn glGetUniformfv(&self, program: u32, location: i32, params: *mut f32)
fn glGetUniformiv(&self, program: u32, location: i32, params: *mut i32)
fn glGetVertexAttribdv(&self, index: u32, pname: u32, params: *mut f64)
fn glGetVertexAttribfv(&self, index: u32, pname: u32, params: *mut f32)
fn glGetVertexAttribiv(&self, index: u32, pname: u32, params: *mut i32)
fn glGetVertexAttribPointerv( &self, index: u32, pname: u32, pointer: *mut *mut c_void, )
fn glIsProgram(&self, program: u32) -> u8
fn glIsShader(&self, shader: u32) -> u8
fn glLinkProgram(&self, program: u32)
fn glShaderSource( &self, shader: u32, count: i32, string_: *const *const i8, length: *const i32, )
fn glUseProgram(&self, program: u32)
fn glUniform1f(&self, location: i32, v0: f32)
fn glUniform2f(&self, location: i32, v0: f32, v1: f32)
fn glUniform3f(&self, location: i32, v0: f32, v1: f32, v2: f32)
fn glUniform4f(&self, location: i32, v0: f32, v1: f32, v2: f32, v3: f32)
fn glUniform1i(&self, location: i32, v0: i32)
fn glUniform2i(&self, location: i32, v0: i32, v1: i32)
fn glUniform3i(&self, location: i32, v0: i32, v1: i32, v2: i32)
fn glUniform4i(&self, location: i32, v0: i32, v1: i32, v2: i32, v3: i32)
fn glUniform1fv(&self, location: i32, count: i32, value: *const f32)
fn glUniform2fv(&self, location: i32, count: i32, value: *const f32)
fn glUniform3fv(&self, location: i32, count: i32, value: *const f32)
fn glUniform4fv(&self, location: i32, count: i32, value: *const f32)
fn glUniform1iv(&self, location: i32, count: i32, value: *const i32)
fn glUniform2iv(&self, location: i32, count: i32, value: *const i32)
fn glUniform3iv(&self, location: i32, count: i32, value: *const i32)
fn glUniform4iv(&self, location: i32, count: i32, value: *const i32)
fn glUniformMatrix2fv( &self, location: i32, count: i32, transpose: u8, value: *const f32, )
fn glUniformMatrix3fv( &self, location: i32, count: i32, transpose: u8, value: *const f32, )
fn glUniformMatrix4fv( &self, location: i32, count: i32, transpose: u8, value: *const f32, )
fn glValidateProgram(&self, program: u32)
fn glVertexAttrib1d(&self, index: u32, x: f64)
fn glVertexAttrib1dv(&self, index: u32, v: *const f64)
fn glVertexAttrib1f(&self, index: u32, x: f32)
fn glVertexAttrib1fv(&self, index: u32, v: *const f32)
fn glVertexAttrib1s(&self, index: u32, x: i16)
fn glVertexAttrib1sv(&self, index: u32, v: *const i16)
fn glVertexAttrib2d(&self, index: u32, x: f64, y: f64)
fn glVertexAttrib2dv(&self, index: u32, v: *const f64)
fn glVertexAttrib2f(&self, index: u32, x: f32, y: f32)
fn glVertexAttrib2fv(&self, index: u32, v: *const f32)
fn glVertexAttrib2s(&self, index: u32, x: i16, y: i16)
fn glVertexAttrib2sv(&self, index: u32, v: *const i16)
fn glVertexAttrib3d(&self, index: u32, x: f64, y: f64, z: f64)
fn glVertexAttrib3dv(&self, index: u32, v: *const f64)
fn glVertexAttrib3f(&self, index: u32, x: f32, y: f32, z: f32)
fn glVertexAttrib3fv(&self, index: u32, v: *const f32)
fn glVertexAttrib3s(&self, index: u32, x: i16, y: i16, z: i16)
fn glVertexAttrib3sv(&self, index: u32, v: *const i16)
fn glVertexAttrib4Nbv(&self, index: u32, v: *const i8)
fn glVertexAttrib4Niv(&self, index: u32, v: *const i32)
fn glVertexAttrib4Nsv(&self, index: u32, v: *const i16)
fn glVertexAttrib4Nub(&self, index: u32, x: u8, y: u8, z: u8, w: u8)
fn glVertexAttrib4Nubv(&self, index: u32, v: *const u8)
fn glVertexAttrib4Nuiv(&self, index: u32, v: *const u32)
fn glVertexAttrib4Nusv(&self, index: u32, v: *const u16)
fn glVertexAttrib4bv(&self, index: u32, v: *const i8)
fn glVertexAttrib4d(&self, index: u32, x: f64, y: f64, z: f64, w: f64)
fn glVertexAttrib4dv(&self, index: u32, v: *const f64)
fn glVertexAttrib4f(&self, index: u32, x: f32, y: f32, z: f32, w: f32)
fn glVertexAttrib4fv(&self, index: u32, v: *const f32)
fn glVertexAttrib4iv(&self, index: u32, v: *const i32)
fn glVertexAttrib4s(&self, index: u32, x: i16, y: i16, z: i16, w: i16)
fn glVertexAttrib4sv(&self, index: u32, v: *const i16)
fn glVertexAttrib4ubv(&self, index: u32, v: *const u8)
fn glVertexAttrib4uiv(&self, index: u32, v: *const u32)
fn glVertexAttrib4usv(&self, index: u32, v: *const u16)
fn glVertexAttribPointer( &self, index: u32, size: i32, type_: u32, normalized: u8, stride: i32, pointer: *const c_void, )
fn get_shading_language_version(&self) -> &'static str
impl Copy for Version20
impl Eq for Version20
impl StructuralPartialEq for Version20
Auto Trait Implementations§
impl Freeze for Version20
impl RefUnwindSafe for Version20
impl Send for Version20
impl Sync for Version20
impl Unpin for Version20
impl UnwindSafe for Version20
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more