pub struct Version12 {
pub geterror: extern "system" fn() -> GLenum,
pub drawrangeelements: extern "system" fn(GLenum, GLuint, GLuint, GLsizei, GLenum, *const c_void),
pub teximage3d: extern "system" fn(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, *const c_void),
pub texsubimage3d: extern "system" fn(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, *const c_void),
pub copytexsubimage3d: extern "system" fn(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei),
/* private fields */
}
Expand description
Functions from OpenGL version 1.2
Fields§
§geterror: extern "system" fn() -> GLenum
The function pointer to glGetError()
drawrangeelements: extern "system" fn(GLenum, GLuint, GLuint, GLsizei, GLenum, *const c_void)
The function pointer to glDrawRangeElements()
teximage3d: extern "system" fn(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, *const c_void)
The function pointer to glTexImage3D()
texsubimage3d: extern "system" fn(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, *const c_void)
The function pointer to glTexSubImage3D()
copytexsubimage3d: extern "system" fn(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)
The function pointer to glCopyTexSubImage3D()
Implementations§
Trait Implementations§
Source§impl GL_1_2 for Version12
impl GL_1_2 for Version12
Source§fn glGetError(&self) -> GLenum
fn glGetError(&self) -> GLenum
Source§fn glDrawRangeElements(
&self,
mode: GLenum,
start: GLuint,
end: GLuint,
count: GLsizei,
type_: GLenum,
indices: *const c_void,
) -> Result<(), GLCoreError>
fn glDrawRangeElements( &self, mode: GLenum, start: GLuint, end: GLuint, count: GLsizei, type_: GLenum, indices: *const c_void, ) -> Result<(), GLCoreError>
Source§fn glTexImage3D(
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
pixels: *const c_void,
) -> Result<(), GLCoreError>
fn glTexImage3D( &self, target: GLenum, level: GLint, internalformat: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, format: GLenum, type_: GLenum, pixels: *const c_void, ) -> Result<(), GLCoreError>
impl Copy for Version12
impl Eq for Version12
impl StructuralPartialEq for Version12
Auto Trait Implementations§
impl Freeze for Version12
impl RefUnwindSafe for Version12
impl Send for Version12
impl Sync for Version12
impl Unpin for Version12
impl UnwindSafe for Version12
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