pub struct Version10 { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl GL_1_0 for Version10
impl GL_1_0 for Version10
fn glCullFace(&self, mode: u32)
fn glFrontFace(&self, mode: u32)
fn glHint(&self, target: u32, mode: u32)
fn glLineWidth(&self, width: f32)
fn glPointSize(&self, size: f32)
fn glPolygonMode(&self, face: u32, mode: u32)
fn glScissor(&self, x: i32, y: i32, width: i32, height: i32)
fn glTexParameterf(&self, target: u32, pname: u32, param: f32)
fn glTexParameterfv(&self, target: u32, pname: u32, params: *const f32)
fn glTexParameteri(&self, target: u32, pname: u32, param: i32)
fn glTexParameteriv(&self, target: u32, pname: u32, params: *const i32)
fn glTexImage1D( &self, target: u32, level: i32, internalformat: i32, width: i32, border: i32, format: u32, type_: u32, pixels: *const c_void, )
fn glTexImage2D( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, pixels: *const c_void, )
fn glDrawBuffer(&self, buf: u32)
fn glClear(&self, mask: u32)
fn glClearColor(&self, red: f32, green: f32, blue: f32, alpha: f32)
fn glClearStencil(&self, s: i32)
fn glClearDepth(&self, depth: f64)
fn glStencilMask(&self, mask: u32)
fn glColorMask(&self, red: u8, green: u8, blue: u8, alpha: u8)
fn glDepthMask(&self, flag: u8)
fn glDisable(&self, cap: u32)
fn glEnable(&self, cap: u32)
fn glFinish(&self)
fn glFlush(&self)
fn glBlendFunc(&self, sfactor: u32, dfactor: u32)
fn glLogicOp(&self, opcode: u32)
fn glStencilFunc(&self, func: u32, ref_: i32, mask: u32)
fn glStencilOp(&self, fail: u32, zfail: u32, zpass: u32)
fn glDepthFunc(&self, func: u32)
fn glPixelStoref(&self, pname: u32, param: f32)
fn glPixelStorei(&self, pname: u32, param: i32)
fn glReadBuffer(&self, src: u32)
fn glReadPixels( &self, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, pixels: *mut c_void, )
fn glGetBooleanv(&self, pname: u32, data: *mut u8)
fn glGetDoublev(&self, pname: u32, data: *mut f64)
fn glGetError(&self) -> u32
fn glGetFloatv(&self, pname: u32, data: *mut f32)
fn glGetIntegerv(&self, pname: u32, data: *mut i32)
fn glGetString(&self, name: u32) -> &'static str
fn glGetTexImage( &self, target: u32, level: i32, format: u32, type_: u32, pixels: *mut c_void, )
fn glGetTexParameterfv(&self, target: u32, pname: u32, params: *mut f32)
fn glGetTexParameteriv(&self, target: u32, pname: u32, params: *mut i32)
fn glGetTexLevelParameterfv( &self, target: u32, level: i32, pname: u32, params: *mut f32, )
fn glGetTexLevelParameteriv( &self, target: u32, level: i32, pname: u32, params: *mut i32, )
fn glIsEnabled(&self, cap: u32) -> u8
fn glDepthRange(&self, n: f64, f: f64)
fn glViewport(&self, x: i32, y: i32, width: i32, height: i32)
fn get_version(&self) -> (&'static str, u32, u32, u32)
fn get_vendor(&self) -> &'static str
fn get_renderer(&self) -> &'static str
fn get_versionstr(&self) -> &'static str
impl Copy for Version10
impl Eq for Version10
impl StructuralPartialEq for Version10
Auto Trait Implementations§
impl Freeze for Version10
impl RefUnwindSafe for Version10
impl Send for Version10
impl Sync for Version10
impl Unpin for Version10
impl UnwindSafe for Version10
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