Version13

Struct Version13 

Source
pub struct Version13 {
Show 47 fields pub geterror: extern "system" fn() -> GLenum, pub activetexture: extern "system" fn(GLenum), pub samplecoverage: extern "system" fn(GLfloat, GLboolean), pub compressedteximage3d: extern "system" fn(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, *const c_void), pub compressedteximage2d: extern "system" fn(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, *const c_void), pub compressedteximage1d: extern "system" fn(GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, *const c_void), pub compressedtexsubimage3d: extern "system" fn(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, *const c_void), pub compressedtexsubimage2d: extern "system" fn(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, *const c_void), pub compressedtexsubimage1d: extern "system" fn(GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, *const c_void), pub getcompressedteximage: extern "system" fn(GLenum, GLint, *mut c_void), pub clientactivetexture: extern "system" fn(GLenum), pub multitexcoord1d: extern "system" fn(GLenum, GLdouble), pub multitexcoord1dv: extern "system" fn(GLenum, *const GLdouble), pub multitexcoord1f: extern "system" fn(GLenum, GLfloat), pub multitexcoord1fv: extern "system" fn(GLenum, *const GLfloat), pub multitexcoord1i: extern "system" fn(GLenum, GLint), pub multitexcoord1iv: extern "system" fn(GLenum, *const GLint), pub multitexcoord1s: extern "system" fn(GLenum, GLshort), pub multitexcoord1sv: extern "system" fn(GLenum, *const GLshort), pub multitexcoord2d: extern "system" fn(GLenum, GLdouble, GLdouble), pub multitexcoord2dv: extern "system" fn(GLenum, *const GLdouble), pub multitexcoord2f: extern "system" fn(GLenum, GLfloat, GLfloat), pub multitexcoord2fv: extern "system" fn(GLenum, *const GLfloat), pub multitexcoord2i: extern "system" fn(GLenum, GLint, GLint), pub multitexcoord2iv: extern "system" fn(GLenum, *const GLint), pub multitexcoord2s: extern "system" fn(GLenum, GLshort, GLshort), pub multitexcoord2sv: extern "system" fn(GLenum, *const GLshort), pub multitexcoord3d: extern "system" fn(GLenum, GLdouble, GLdouble, GLdouble), pub multitexcoord3dv: extern "system" fn(GLenum, *const GLdouble), pub multitexcoord3f: extern "system" fn(GLenum, GLfloat, GLfloat, GLfloat), pub multitexcoord3fv: extern "system" fn(GLenum, *const GLfloat), pub multitexcoord3i: extern "system" fn(GLenum, GLint, GLint, GLint), pub multitexcoord3iv: extern "system" fn(GLenum, *const GLint), pub multitexcoord3s: extern "system" fn(GLenum, GLshort, GLshort, GLshort), pub multitexcoord3sv: extern "system" fn(GLenum, *const GLshort), pub multitexcoord4d: extern "system" fn(GLenum, GLdouble, GLdouble, GLdouble, GLdouble), pub multitexcoord4dv: extern "system" fn(GLenum, *const GLdouble), pub multitexcoord4f: extern "system" fn(GLenum, GLfloat, GLfloat, GLfloat, GLfloat), pub multitexcoord4fv: extern "system" fn(GLenum, *const GLfloat), pub multitexcoord4i: extern "system" fn(GLenum, GLint, GLint, GLint, GLint), pub multitexcoord4iv: extern "system" fn(GLenum, *const GLint), pub multitexcoord4s: extern "system" fn(GLenum, GLshort, GLshort, GLshort, GLshort), pub multitexcoord4sv: extern "system" fn(GLenum, *const GLshort), pub loadtransposematrixf: extern "system" fn(*const GLfloat), pub loadtransposematrixd: extern "system" fn(*const GLdouble), pub multtransposematrixf: extern "system" fn(*const GLfloat), pub multtransposematrixd: extern "system" fn(*const GLdouble), /* private fields */
}
Expand description

Functions from OpenGL version 1.3

Fields§

§geterror: extern "system" fn() -> GLenum

The function pointer to glGetError()

§activetexture: extern "system" fn(GLenum)

The function pointer to glActiveTexture()

§samplecoverage: extern "system" fn(GLfloat, GLboolean)

The function pointer to glSampleCoverage()

§compressedteximage3d: extern "system" fn(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, *const c_void)

The function pointer to glCompressedTexImage3D()

§compressedteximage2d: extern "system" fn(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, *const c_void)

The function pointer to glCompressedTexImage2D()

§compressedteximage1d: extern "system" fn(GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, *const c_void)

The function pointer to glCompressedTexImage1D()

§compressedtexsubimage3d: extern "system" fn(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, *const c_void)

The function pointer to glCompressedTexSubImage3D()

§compressedtexsubimage2d: extern "system" fn(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, *const c_void)

The function pointer to glCompressedTexSubImage2D()

§compressedtexsubimage1d: extern "system" fn(GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, *const c_void)

The function pointer to glCompressedTexSubImage1D()

§getcompressedteximage: extern "system" fn(GLenum, GLint, *mut c_void)

The function pointer to glGetCompressedTexImage()

§clientactivetexture: extern "system" fn(GLenum)

The function pointer to glClientActiveTexture()

§multitexcoord1d: extern "system" fn(GLenum, GLdouble)

The function pointer to glMultiTexCoord1d()

§multitexcoord1dv: extern "system" fn(GLenum, *const GLdouble)

The function pointer to glMultiTexCoord1dv()

§multitexcoord1f: extern "system" fn(GLenum, GLfloat)

The function pointer to glMultiTexCoord1f()

§multitexcoord1fv: extern "system" fn(GLenum, *const GLfloat)

The function pointer to glMultiTexCoord1fv()

§multitexcoord1i: extern "system" fn(GLenum, GLint)

The function pointer to glMultiTexCoord1i()

§multitexcoord1iv: extern "system" fn(GLenum, *const GLint)

The function pointer to glMultiTexCoord1iv()

§multitexcoord1s: extern "system" fn(GLenum, GLshort)

The function pointer to glMultiTexCoord1s()

§multitexcoord1sv: extern "system" fn(GLenum, *const GLshort)

The function pointer to glMultiTexCoord1sv()

§multitexcoord2d: extern "system" fn(GLenum, GLdouble, GLdouble)

The function pointer to glMultiTexCoord2d()

§multitexcoord2dv: extern "system" fn(GLenum, *const GLdouble)

The function pointer to glMultiTexCoord2dv()

§multitexcoord2f: extern "system" fn(GLenum, GLfloat, GLfloat)

The function pointer to glMultiTexCoord2f()

§multitexcoord2fv: extern "system" fn(GLenum, *const GLfloat)

The function pointer to glMultiTexCoord2fv()

§multitexcoord2i: extern "system" fn(GLenum, GLint, GLint)

The function pointer to glMultiTexCoord2i()

§multitexcoord2iv: extern "system" fn(GLenum, *const GLint)

The function pointer to glMultiTexCoord2iv()

§multitexcoord2s: extern "system" fn(GLenum, GLshort, GLshort)

The function pointer to glMultiTexCoord2s()

§multitexcoord2sv: extern "system" fn(GLenum, *const GLshort)

The function pointer to glMultiTexCoord2sv()

§multitexcoord3d: extern "system" fn(GLenum, GLdouble, GLdouble, GLdouble)

The function pointer to glMultiTexCoord3d()

§multitexcoord3dv: extern "system" fn(GLenum, *const GLdouble)

The function pointer to glMultiTexCoord3dv()

§multitexcoord3f: extern "system" fn(GLenum, GLfloat, GLfloat, GLfloat)

The function pointer to glMultiTexCoord3f()

§multitexcoord3fv: extern "system" fn(GLenum, *const GLfloat)

The function pointer to glMultiTexCoord3fv()

§multitexcoord3i: extern "system" fn(GLenum, GLint, GLint, GLint)

The function pointer to glMultiTexCoord3i()

§multitexcoord3iv: extern "system" fn(GLenum, *const GLint)

The function pointer to glMultiTexCoord3iv()

§multitexcoord3s: extern "system" fn(GLenum, GLshort, GLshort, GLshort)

The function pointer to glMultiTexCoord3s()

§multitexcoord3sv: extern "system" fn(GLenum, *const GLshort)

The function pointer to glMultiTexCoord3sv()

§multitexcoord4d: extern "system" fn(GLenum, GLdouble, GLdouble, GLdouble, GLdouble)

The function pointer to glMultiTexCoord4d()

§multitexcoord4dv: extern "system" fn(GLenum, *const GLdouble)

The function pointer to glMultiTexCoord4dv()

§multitexcoord4f: extern "system" fn(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)

The function pointer to glMultiTexCoord4f()

§multitexcoord4fv: extern "system" fn(GLenum, *const GLfloat)

The function pointer to glMultiTexCoord4fv()

§multitexcoord4i: extern "system" fn(GLenum, GLint, GLint, GLint, GLint)

The function pointer to glMultiTexCoord4i()

§multitexcoord4iv: extern "system" fn(GLenum, *const GLint)

The function pointer to glMultiTexCoord4iv()

§multitexcoord4s: extern "system" fn(GLenum, GLshort, GLshort, GLshort, GLshort)

The function pointer to glMultiTexCoord4s()

§multitexcoord4sv: extern "system" fn(GLenum, *const GLshort)

The function pointer to glMultiTexCoord4sv()

§loadtransposematrixf: extern "system" fn(*const GLfloat)

The function pointer to glLoadTransposeMatrixf()

§loadtransposematrixd: extern "system" fn(*const GLdouble)

The function pointer to glLoadTransposeMatrixd()

§multtransposematrixf: extern "system" fn(*const GLfloat)

The function pointer to glMultTransposeMatrixf()

§multtransposematrixd: extern "system" fn(*const GLdouble)

The function pointer to glMultTransposeMatrixd()

Implementations§

Source§

impl Version13

Source

pub fn new( base: impl GL_1_0, get_proc_address: impl FnMut(&'static str) -> *const c_void, ) -> Self

Source

pub fn get_available(&self) -> bool

Trait Implementations§

Source§

impl Clone for Version13

Source§

fn clone(&self) -> Version13

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Version13

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Version13

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl GL_1_3 for Version13

Source§

fn glGetError(&self) -> GLenum

Source§

fn glActiveTexture(&self, texture: GLenum) -> Result<(), GLCoreError>

Source§

fn glSampleCoverage( &self, value: GLfloat, invert: GLboolean, ) -> Result<(), GLCoreError>

Source§

fn glCompressedTexImage3D( &self, target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, depth: GLsizei, border: GLint, imageSize: GLsizei, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glCompressedTexImage2D( &self, target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, height: GLsizei, border: GLint, imageSize: GLsizei, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glCompressedTexImage1D( &self, target: GLenum, level: GLint, internalformat: GLenum, width: GLsizei, border: GLint, imageSize: GLsizei, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glCompressedTexSubImage3D( &self, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, zoffset: GLint, width: GLsizei, height: GLsizei, depth: GLsizei, format: GLenum, imageSize: GLsizei, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glCompressedTexSubImage2D( &self, target: GLenum, level: GLint, xoffset: GLint, yoffset: GLint, width: GLsizei, height: GLsizei, format: GLenum, imageSize: GLsizei, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glCompressedTexSubImage1D( &self, target: GLenum, level: GLint, xoffset: GLint, width: GLsizei, format: GLenum, imageSize: GLsizei, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetCompressedTexImage( &self, target: GLenum, level: GLint, img: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glClientActiveTexture(&self, texture: GLenum) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord1d( &self, target: GLenum, s: GLdouble, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord1dv( &self, target: GLenum, v: *const GLdouble, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord1f( &self, target: GLenum, s: GLfloat, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord1fv( &self, target: GLenum, v: *const GLfloat, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord1i(&self, target: GLenum, s: GLint) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord1iv( &self, target: GLenum, v: *const GLint, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord1s( &self, target: GLenum, s: GLshort, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord1sv( &self, target: GLenum, v: *const GLshort, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord2d( &self, target: GLenum, s: GLdouble, t: GLdouble, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord2dv( &self, target: GLenum, v: *const GLdouble, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord2f( &self, target: GLenum, s: GLfloat, t: GLfloat, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord2fv( &self, target: GLenum, v: *const GLfloat, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord2i( &self, target: GLenum, s: GLint, t: GLint, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord2iv( &self, target: GLenum, v: *const GLint, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord2s( &self, target: GLenum, s: GLshort, t: GLshort, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord2sv( &self, target: GLenum, v: *const GLshort, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord3d( &self, target: GLenum, s: GLdouble, t: GLdouble, r: GLdouble, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord3dv( &self, target: GLenum, v: *const GLdouble, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord3f( &self, target: GLenum, s: GLfloat, t: GLfloat, r: GLfloat, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord3fv( &self, target: GLenum, v: *const GLfloat, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord3i( &self, target: GLenum, s: GLint, t: GLint, r: GLint, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord3iv( &self, target: GLenum, v: *const GLint, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord3s( &self, target: GLenum, s: GLshort, t: GLshort, r: GLshort, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord3sv( &self, target: GLenum, v: *const GLshort, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord4d( &self, target: GLenum, s: GLdouble, t: GLdouble, r: GLdouble, q: GLdouble, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord4dv( &self, target: GLenum, v: *const GLdouble, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord4f( &self, target: GLenum, s: GLfloat, t: GLfloat, r: GLfloat, q: GLfloat, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord4fv( &self, target: GLenum, v: *const GLfloat, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord4i( &self, target: GLenum, s: GLint, t: GLint, r: GLint, q: GLint, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord4iv( &self, target: GLenum, v: *const GLint, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord4s( &self, target: GLenum, s: GLshort, t: GLshort, r: GLshort, q: GLshort, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoord4sv( &self, target: GLenum, v: *const GLshort, ) -> Result<(), GLCoreError>

Source§

fn glLoadTransposeMatrixf(&self, m: *const GLfloat) -> Result<(), GLCoreError>

Source§

fn glLoadTransposeMatrixd(&self, m: *const GLdouble) -> Result<(), GLCoreError>

Source§

fn glMultTransposeMatrixf(&self, m: *const GLfloat) -> Result<(), GLCoreError>

Source§

fn glMultTransposeMatrixd(&self, m: *const GLdouble) -> Result<(), GLCoreError>

Source§

impl Hash for Version13

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Version13

Source§

fn eq(&self, other: &Version13) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Version13

Source§

impl Eq for Version13

Source§

impl StructuralPartialEq for Version13

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.