Struct GLCore

Source
pub struct GLCore {
Show 23 fields pub version_1_0: Version10, pub version_1_1: Version11, pub version_1_2: Version12, pub version_1_3: Version13, pub version_1_4: Version14, pub version_1_5: Version15, pub version_2_0: Version20, pub version_2_1: Version21, pub version_3_0: Version30, pub version_3_1: Version31, pub version_3_2: Version32, pub version_3_3: Version33, pub version_4_0: Version40, pub version_4_1: Version41, pub version_4_2: Version42, pub version_4_3: Version43, pub version_4_4: Version44, pub version_4_5: Version45, pub version_4_6: Version46, pub esversion_2_0: EsVersion20, pub esversion_3_0: EsVersion30, pub esversion_3_1: EsVersion31, pub esversion_3_2: EsVersion32,
}
Expand description

All of the OpenGL and OpenGL ES functions

Fields§

§version_1_0: Version10

Functions from OpenGL version 1.0

§version_1_1: Version11

Functions from OpenGL version 1.1

§version_1_2: Version12

Functions from OpenGL version 1.2

§version_1_3: Version13

Functions from OpenGL version 1.3

§version_1_4: Version14

Functions from OpenGL version 1.4

§version_1_5: Version15

Functions from OpenGL version 1.5

§version_2_0: Version20

Functions from OpenGL version 2.0

§version_2_1: Version21

Functions from OpenGL version 2.1

§version_3_0: Version30

Functions from OpenGL version 3.0

§version_3_1: Version31

Functions from OpenGL version 3.1

§version_3_2: Version32

Functions from OpenGL version 3.2

§version_3_3: Version33

Functions from OpenGL version 3.3

§version_4_0: Version40

Functions from OpenGL version 4.0

§version_4_1: Version41

Functions from OpenGL version 4.1

§version_4_2: Version42

Functions from OpenGL version 4.2

§version_4_3: Version43

Functions from OpenGL version 4.3

§version_4_4: Version44

Functions from OpenGL version 4.4

§version_4_5: Version45

Functions from OpenGL version 4.5

§version_4_6: Version46

Functions from OpenGL version 4.6

§esversion_2_0: EsVersion20

Functions from OpenGL ES version 2.0

§esversion_3_0: EsVersion30

Functions from OpenGL ES version 3.0

§esversion_3_1: EsVersion31

Functions from OpenGL ES version 3.1

§esversion_3_2: EsVersion32

Functions from OpenGL ES version 3.2

Implementations§

Source§

impl GLCore

Source

pub fn new( get_proc_address: impl FnMut(&'static str) -> *const c_void, ) -> Result<GLCore, GLCoreError>

Trait Implementations§

Source§

impl Clone for GLCore

Source§

fn clone(&self) -> GLCore

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 GLCore

Source§

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

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

impl Default for GLCore

Source§

fn default() -> GLCore

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

impl ES_GL_3_2_g for GLCore

Source§

impl GL_1_0_g for GLCore

Source§

fn get_version(&self) -> (&'static str, u32, u32, u32)

Get the OpenGL backend version (string_version, major, minor, release)
Source§

fn get_vendor(&self) -> &'static str

Get the OpenGL vendor string
Source§

fn get_renderer(&self) -> &'static str

Get the OpenGL renderer string
Source§

fn get_versionstr(&self) -> &'static str

Get the OpenGL version string
Source§

fn glCullFace(&self, mode: u32) -> Result<(), GLCoreError>

Source§

fn glFrontFace(&self, mode: u32) -> Result<(), GLCoreError>

Source§

fn glHint(&self, target: u32, mode: u32) -> Result<(), GLCoreError>

Source§

fn glLineWidth(&self, width: f32) -> Result<(), GLCoreError>

Source§

fn glPointSize(&self, size: f32) -> Result<(), GLCoreError>

Source§

fn glPolygonMode(&self, face: u32, mode: u32) -> Result<(), GLCoreError>

Source§

fn glScissor( &self, x: i32, y: i32, width: i32, height: i32, ) -> Result<(), GLCoreError>

Source§

fn glTexParameterf( &self, target: u32, pname: u32, param: f32, ) -> Result<(), GLCoreError>

Source§

fn glTexParameterfv( &self, target: u32, pname: u32, params: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glTexParameteri( &self, target: u32, pname: u32, param: i32, ) -> Result<(), GLCoreError>

Source§

fn glTexParameteriv( &self, target: u32, pname: u32, params: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glTexImage1D( &self, target: u32, level: i32, internalformat: i32, width: i32, border: i32, format: u32, type_: u32, pixels: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glTexImage2D( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, pixels: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glDrawBuffer(&self, buf: u32) -> Result<(), GLCoreError>

Source§

fn glClear(&self, mask: u32) -> Result<(), GLCoreError>

Source§

fn glClearColor( &self, red: f32, green: f32, blue: f32, alpha: f32, ) -> Result<(), GLCoreError>

Source§

fn glClearStencil(&self, s: i32) -> Result<(), GLCoreError>

Source§

fn glClearDepth(&self, depth: f64) -> Result<(), GLCoreError>

Source§

fn glStencilMask(&self, mask: u32) -> Result<(), GLCoreError>

Source§

fn glColorMask( &self, red: u8, green: u8, blue: u8, alpha: u8, ) -> Result<(), GLCoreError>

Source§

fn glDepthMask(&self, flag: u8) -> Result<(), GLCoreError>

Source§

fn glDisable(&self, cap: u32) -> Result<(), GLCoreError>

Source§

fn glEnable(&self, cap: u32) -> Result<(), GLCoreError>

Source§

fn glFinish(&self) -> Result<(), GLCoreError>

Source§

fn glFlush(&self) -> Result<(), GLCoreError>

Source§

fn glBlendFunc(&self, sfactor: u32, dfactor: u32) -> Result<(), GLCoreError>

Source§

fn glLogicOp(&self, opcode: u32) -> Result<(), GLCoreError>

Source§

fn glStencilFunc( &self, func: u32, ref_: i32, mask: u32, ) -> Result<(), GLCoreError>

Source§

fn glStencilOp( &self, fail: u32, zfail: u32, zpass: u32, ) -> Result<(), GLCoreError>

Source§

fn glDepthFunc(&self, func: u32) -> Result<(), GLCoreError>

Source§

fn glPixelStoref(&self, pname: u32, param: f32) -> Result<(), GLCoreError>

Source§

fn glPixelStorei(&self, pname: u32, param: i32) -> Result<(), GLCoreError>

Source§

fn glReadBuffer(&self, src: u32) -> Result<(), GLCoreError>

Source§

fn glReadPixels( &self, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, pixels: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetBooleanv(&self, pname: u32, data: *mut u8) -> Result<(), GLCoreError>

Source§

fn glGetDoublev(&self, pname: u32, data: *mut f64) -> Result<(), GLCoreError>

Source§

fn glGetError(&self) -> u32

Source§

fn glGetFloatv(&self, pname: u32, data: *mut f32) -> Result<(), GLCoreError>

Source§

fn glGetIntegerv(&self, pname: u32, data: *mut i32) -> Result<(), GLCoreError>

Source§

fn glGetString(&self, name: u32) -> Result<&'static str, GLCoreError>

Source§

fn glGetTexImage( &self, target: u32, level: i32, format: u32, type_: u32, pixels: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetTexParameterfv( &self, target: u32, pname: u32, params: *mut f32, ) -> Result<(), GLCoreError>

Source§

fn glGetTexParameteriv( &self, target: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetTexLevelParameterfv( &self, target: u32, level: i32, pname: u32, params: *mut f32, ) -> Result<(), GLCoreError>

Source§

fn glGetTexLevelParameteriv( &self, target: u32, level: i32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glIsEnabled(&self, cap: u32) -> Result<u8, GLCoreError>

Source§

fn glDepthRange(&self, n: f64, f: f64) -> Result<(), GLCoreError>

Source§

fn glViewport( &self, x: i32, y: i32, width: i32, height: i32, ) -> Result<(), GLCoreError>

Source§

impl GL_1_1_g for GLCore

Source§

fn glDrawArrays( &self, mode: u32, first: i32, count: i32, ) -> Result<(), GLCoreError>

Source§

fn glDrawElements( &self, mode: u32, count: i32, type_: u32, indices: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetPointerv( &self, pname: u32, params: *mut *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glPolygonOffset(&self, factor: f32, units: f32) -> Result<(), GLCoreError>

Source§

fn glCopyTexImage1D( &self, target: u32, level: i32, internalformat: u32, x: i32, y: i32, width: i32, border: i32, ) -> Result<(), GLCoreError>

Source§

fn glCopyTexImage2D( &self, target: u32, level: i32, internalformat: u32, x: i32, y: i32, width: i32, height: i32, border: i32, ) -> Result<(), GLCoreError>

Source§

fn glCopyTexSubImage1D( &self, target: u32, level: i32, xoffset: i32, x: i32, y: i32, width: i32, ) -> Result<(), GLCoreError>

Source§

fn glCopyTexSubImage2D( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, x: i32, y: i32, width: i32, height: i32, ) -> Result<(), GLCoreError>

Source§

fn glTexSubImage1D( &self, target: u32, level: i32, xoffset: i32, width: i32, format: u32, type_: u32, pixels: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glTexSubImage2D( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, pixels: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glBindTexture(&self, target: u32, texture: u32) -> Result<(), GLCoreError>

Source§

fn glDeleteTextures( &self, n: i32, textures: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glGenTextures(&self, n: i32, textures: *mut u32) -> Result<(), GLCoreError>

Source§

fn glIsTexture(&self, texture: u32) -> Result<u8, GLCoreError>

Source§

impl GL_1_2_g for GLCore

Source§

fn glDrawRangeElements( &self, mode: u32, start: u32, end: u32, count: i32, type_: u32, indices: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glTexImage3D( &self, target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, pixels: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glTexSubImage3D( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, pixels: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glCopyTexSubImage3D( &self, target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, x: i32, y: i32, width: i32, height: i32, ) -> Result<(), GLCoreError>

Source§

impl GL_1_3_g for GLCore

Source§

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

Source§

fn glSampleCoverage(&self, value: f32, invert: u8) -> Result<(), GLCoreError>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

fn glMultiTexCoord1d(&self, target: u32, s: f64) -> Result<(), GLCoreError>

Source§

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

Source§

fn glMultiTexCoord1f(&self, target: u32, s: f32) -> Result<(), GLCoreError>

Source§

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

Source§

fn glMultiTexCoord1i(&self, target: u32, s: i32) -> Result<(), GLCoreError>

Source§

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

Source§

fn glMultiTexCoord1s(&self, target: u32, s: i16) -> Result<(), GLCoreError>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl GL_1_4_g for GLCore

Source§

fn glBlendFuncSeparate( &self, sfactorRGB: u32, dfactorRGB: u32, sfactorAlpha: u32, dfactorAlpha: u32, ) -> Result<(), GLCoreError>

Source§

fn glMultiDrawArrays( &self, mode: u32, first: *const i32, count: *const i32, drawcount: i32, ) -> Result<(), GLCoreError>

Source§

fn glMultiDrawElements( &self, mode: u32, count: *const i32, type_: u32, indices: *const *const c_void, drawcount: i32, ) -> Result<(), GLCoreError>

Source§

fn glPointParameterf(&self, pname: u32, param: f32) -> Result<(), GLCoreError>

Source§

fn glPointParameterfv( &self, pname: u32, params: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glPointParameteri(&self, pname: u32, param: i32) -> Result<(), GLCoreError>

Source§

fn glPointParameteriv( &self, pname: u32, params: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glFogCoordf(&self, coord: f32) -> Result<(), GLCoreError>

Source§

fn glFogCoordfv(&self, coord: *const f32) -> Result<(), GLCoreError>

Source§

fn glFogCoordd(&self, coord: f64) -> Result<(), GLCoreError>

Source§

fn glFogCoorddv(&self, coord: *const f64) -> Result<(), GLCoreError>

Source§

fn glFogCoordPointer( &self, type_: u32, stride: i32, pointer: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3b( &self, red: i8, green: i8, blue: i8, ) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3bv(&self, v: *const i8) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3d( &self, red: f64, green: f64, blue: f64, ) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3dv(&self, v: *const f64) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3f( &self, red: f32, green: f32, blue: f32, ) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3fv(&self, v: *const f32) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3i( &self, red: i32, green: i32, blue: i32, ) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3iv(&self, v: *const i32) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3s( &self, red: i16, green: i16, blue: i16, ) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3sv(&self, v: *const i16) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3ub( &self, red: u8, green: u8, blue: u8, ) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3ubv(&self, v: *const u8) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3ui( &self, red: u32, green: u32, blue: u32, ) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3uiv(&self, v: *const u32) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3us( &self, red: u16, green: u16, blue: u16, ) -> Result<(), GLCoreError>

Source§

fn glSecondaryColor3usv(&self, v: *const u16) -> Result<(), GLCoreError>

Source§

fn glSecondaryColorPointer( &self, size: i32, type_: u32, stride: i32, pointer: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glWindowPos2d(&self, x: f64, y: f64) -> Result<(), GLCoreError>

Source§

fn glWindowPos2dv(&self, v: *const f64) -> Result<(), GLCoreError>

Source§

fn glWindowPos2f(&self, x: f32, y: f32) -> Result<(), GLCoreError>

Source§

fn glWindowPos2fv(&self, v: *const f32) -> Result<(), GLCoreError>

Source§

fn glWindowPos2i(&self, x: i32, y: i32) -> Result<(), GLCoreError>

Source§

fn glWindowPos2iv(&self, v: *const i32) -> Result<(), GLCoreError>

Source§

fn glWindowPos2s(&self, x: i16, y: i16) -> Result<(), GLCoreError>

Source§

fn glWindowPos2sv(&self, v: *const i16) -> Result<(), GLCoreError>

Source§

fn glWindowPos3d(&self, x: f64, y: f64, z: f64) -> Result<(), GLCoreError>

Source§

fn glWindowPos3dv(&self, v: *const f64) -> Result<(), GLCoreError>

Source§

fn glWindowPos3f(&self, x: f32, y: f32, z: f32) -> Result<(), GLCoreError>

Source§

fn glWindowPos3fv(&self, v: *const f32) -> Result<(), GLCoreError>

Source§

fn glWindowPos3i(&self, x: i32, y: i32, z: i32) -> Result<(), GLCoreError>

Source§

fn glWindowPos3iv(&self, v: *const i32) -> Result<(), GLCoreError>

Source§

fn glWindowPos3s(&self, x: i16, y: i16, z: i16) -> Result<(), GLCoreError>

Source§

fn glWindowPos3sv(&self, v: *const i16) -> Result<(), GLCoreError>

Source§

fn glBlendColor( &self, red: f32, green: f32, blue: f32, alpha: f32, ) -> Result<(), GLCoreError>

Source§

fn glBlendEquation(&self, mode: u32) -> Result<(), GLCoreError>

Source§

impl GL_1_5_g for GLCore

Source§

fn glGenQueries(&self, n: i32, ids: *mut u32) -> Result<(), GLCoreError>

Source§

fn glDeleteQueries(&self, n: i32, ids: *const u32) -> Result<(), GLCoreError>

Source§

fn glIsQuery(&self, id: u32) -> Result<u8, GLCoreError>

Source§

fn glBeginQuery(&self, target: u32, id: u32) -> Result<(), GLCoreError>

Source§

fn glEndQuery(&self, target: u32) -> Result<(), GLCoreError>

Source§

fn glGetQueryiv( &self, target: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetQueryObjectiv( &self, id: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetQueryObjectuiv( &self, id: u32, pname: u32, params: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glBindBuffer(&self, target: u32, buffer: u32) -> Result<(), GLCoreError>

Source§

fn glDeleteBuffers( &self, n: i32, buffers: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glGenBuffers(&self, n: i32, buffers: *mut u32) -> Result<(), GLCoreError>

Source§

fn glIsBuffer(&self, buffer: u32) -> Result<u8, GLCoreError>

Source§

fn glBufferData( &self, target: u32, size: usize, data: *const c_void, usage: u32, ) -> Result<(), GLCoreError>

Source§

fn glBufferSubData( &self, target: u32, offset: usize, size: usize, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetBufferSubData( &self, target: u32, offset: usize, size: usize, data: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glMapBuffer( &self, target: u32, access: u32, ) -> Result<*mut c_void, GLCoreError>

Source§

fn glUnmapBuffer(&self, target: u32) -> Result<u8, GLCoreError>

Source§

fn glGetBufferParameteriv( &self, target: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetBufferPointerv( &self, target: u32, pname: u32, params: *mut *mut c_void, ) -> Result<(), GLCoreError>

Source§

impl GL_2_0_g for GLCore

Source§

fn get_shading_language_version(&self) -> &'static str

Source§

fn glBlendEquationSeparate( &self, modeRGB: u32, modeAlpha: u32, ) -> Result<(), GLCoreError>

Source§

fn glDrawBuffers(&self, n: i32, bufs: *const u32) -> Result<(), GLCoreError>

Source§

fn glStencilOpSeparate( &self, face: u32, sfail: u32, dpfail: u32, dppass: u32, ) -> Result<(), GLCoreError>

Source§

fn glStencilFuncSeparate( &self, face: u32, func: u32, ref_: i32, mask: u32, ) -> Result<(), GLCoreError>

Source§

fn glStencilMaskSeparate(&self, face: u32, mask: u32) -> Result<(), GLCoreError>

Source§

fn glAttachShader(&self, program: u32, shader: u32) -> Result<(), GLCoreError>

Source§

fn glBindAttribLocation( &self, program: u32, index: u32, name: *const i8, ) -> Result<(), GLCoreError>

Source§

fn glCompileShader(&self, shader: u32) -> Result<(), GLCoreError>

Source§

fn glCreateProgram(&self) -> Result<u32, GLCoreError>

Source§

fn glCreateShader(&self, type_: u32) -> Result<u32, GLCoreError>

Source§

fn glDeleteProgram(&self, program: u32) -> Result<(), GLCoreError>

Source§

fn glDeleteShader(&self, shader: u32) -> Result<(), GLCoreError>

Source§

fn glDetachShader(&self, program: u32, shader: u32) -> Result<(), GLCoreError>

Source§

fn glDisableVertexAttribArray(&self, index: u32) -> Result<(), GLCoreError>

Source§

fn glEnableVertexAttribArray(&self, index: u32) -> Result<(), GLCoreError>

Source§

fn glGetActiveAttrib( &self, program: u32, index: u32, bufSize: i32, length: *mut i32, size: *mut i32, type_: *mut u32, name: *mut i8, ) -> Result<(), GLCoreError>

Source§

fn glGetActiveUniform( &self, program: u32, index: u32, bufSize: i32, length: *mut i32, size: *mut i32, type_: *mut u32, name: *mut i8, ) -> Result<(), GLCoreError>

Source§

fn glGetAttachedShaders( &self, program: u32, maxCount: i32, count: *mut i32, shaders: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glGetAttribLocation( &self, program: u32, name: *const i8, ) -> Result<i32, GLCoreError>

Source§

fn glGetProgramiv( &self, program: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetProgramInfoLog( &self, program: u32, bufSize: i32, length: *mut i32, infoLog: *mut i8, ) -> Result<(), GLCoreError>

Source§

fn glGetShaderiv( &self, shader: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetShaderInfoLog( &self, shader: u32, bufSize: i32, length: *mut i32, infoLog: *mut i8, ) -> Result<(), GLCoreError>

Source§

fn glGetShaderSource( &self, shader: u32, bufSize: i32, length: *mut i32, source: *mut i8, ) -> Result<(), GLCoreError>

Source§

fn glGetUniformLocation( &self, program: u32, name: *const i8, ) -> Result<i32, GLCoreError>

Source§

fn glGetUniformfv( &self, program: u32, location: i32, params: *mut f32, ) -> Result<(), GLCoreError>

Source§

fn glGetUniformiv( &self, program: u32, location: i32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetVertexAttribdv( &self, index: u32, pname: u32, params: *mut f64, ) -> Result<(), GLCoreError>

Source§

fn glGetVertexAttribfv( &self, index: u32, pname: u32, params: *mut f32, ) -> Result<(), GLCoreError>

Source§

fn glGetVertexAttribiv( &self, index: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetVertexAttribPointerv( &self, index: u32, pname: u32, pointer: *mut *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glIsProgram(&self, program: u32) -> Result<u8, GLCoreError>

Source§

fn glIsShader(&self, shader: u32) -> Result<u8, GLCoreError>

Source§

fn glLinkProgram(&self, program: u32) -> Result<(), GLCoreError>

Source§

fn glShaderSource( &self, shader: u32, count: i32, string_: *const *const i8, length: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glUseProgram(&self, program: u32) -> Result<(), GLCoreError>

Source§

fn glUniform1f(&self, location: i32, v0: f32) -> Result<(), GLCoreError>

Source§

fn glUniform2f( &self, location: i32, v0: f32, v1: f32, ) -> Result<(), GLCoreError>

Source§

fn glUniform3f( &self, location: i32, v0: f32, v1: f32, v2: f32, ) -> Result<(), GLCoreError>

Source§

fn glUniform4f( &self, location: i32, v0: f32, v1: f32, v2: f32, v3: f32, ) -> Result<(), GLCoreError>

Source§

fn glUniform1i(&self, location: i32, v0: i32) -> Result<(), GLCoreError>

Source§

fn glUniform2i( &self, location: i32, v0: i32, v1: i32, ) -> Result<(), GLCoreError>

Source§

fn glUniform3i( &self, location: i32, v0: i32, v1: i32, v2: i32, ) -> Result<(), GLCoreError>

Source§

fn glUniform4i( &self, location: i32, v0: i32, v1: i32, v2: i32, v3: i32, ) -> Result<(), GLCoreError>

Source§

fn glUniform1fv( &self, location: i32, count: i32, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glUniform2fv( &self, location: i32, count: i32, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glUniform3fv( &self, location: i32, count: i32, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glUniform4fv( &self, location: i32, count: i32, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glUniform1iv( &self, location: i32, count: i32, value: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glUniform2iv( &self, location: i32, count: i32, value: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glUniform3iv( &self, location: i32, count: i32, value: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glUniform4iv( &self, location: i32, count: i32, value: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glUniformMatrix2fv( &self, location: i32, count: i32, transpose: u8, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glUniformMatrix3fv( &self, location: i32, count: i32, transpose: u8, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glUniformMatrix4fv( &self, location: i32, count: i32, transpose: u8, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glValidateProgram(&self, program: u32) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib1d(&self, index: u32, x: f64) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib1dv( &self, index: u32, v: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib1f(&self, index: u32, x: f32) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib1fv( &self, index: u32, v: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib1s(&self, index: u32, x: i16) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib1sv( &self, index: u32, v: *const i16, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib2d( &self, index: u32, x: f64, y: f64, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib2dv( &self, index: u32, v: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib2f( &self, index: u32, x: f32, y: f32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib2fv( &self, index: u32, v: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib2s( &self, index: u32, x: i16, y: i16, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib2sv( &self, index: u32, v: *const i16, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib3d( &self, index: u32, x: f64, y: f64, z: f64, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib3dv( &self, index: u32, v: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib3f( &self, index: u32, x: f32, y: f32, z: f32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib3fv( &self, index: u32, v: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib3s( &self, index: u32, x: i16, y: i16, z: i16, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib3sv( &self, index: u32, v: *const i16, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4Nbv( &self, index: u32, v: *const i8, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4Niv( &self, index: u32, v: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4Nsv( &self, index: u32, v: *const i16, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4Nub( &self, index: u32, x: u8, y: u8, z: u8, w: u8, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4Nubv( &self, index: u32, v: *const u8, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4Nuiv( &self, index: u32, v: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4Nusv( &self, index: u32, v: *const u16, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4bv(&self, index: u32, v: *const i8) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4d( &self, index: u32, x: f64, y: f64, z: f64, w: f64, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4dv( &self, index: u32, v: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4f( &self, index: u32, x: f32, y: f32, z: f32, w: f32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4fv( &self, index: u32, v: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4iv( &self, index: u32, v: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4s( &self, index: u32, x: i16, y: i16, z: i16, w: i16, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4sv( &self, index: u32, v: *const i16, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4ubv( &self, index: u32, v: *const u8, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4uiv( &self, index: u32, v: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttrib4usv( &self, index: u32, v: *const u16, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribPointer( &self, index: u32, size: i32, type_: u32, normalized: u8, stride: i32, pointer: *const c_void, ) -> Result<(), GLCoreError>

Source§

impl GL_2_1_g for GLCore

Source§

impl GL_3_0_g for GLCore

Source§

fn glColorMaski( &self, index: u32, r: u8, g: u8, b: u8, a: u8, ) -> Result<(), GLCoreError>

Source§

fn glGetBooleani_v( &self, target: u32, index: u32, data: *mut u8, ) -> Result<(), GLCoreError>

Source§

fn glGetIntegeri_v( &self, target: u32, index: u32, data: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glEnablei(&self, target: u32, index: u32) -> Result<(), GLCoreError>

Source§

fn glDisablei(&self, target: u32, index: u32) -> Result<(), GLCoreError>

Source§

fn glIsEnabledi(&self, target: u32, index: u32) -> Result<u8, GLCoreError>

Source§

fn glBeginTransformFeedback( &self, primitiveMode: u32, ) -> Result<(), GLCoreError>

Source§

fn glEndTransformFeedback(&self) -> Result<(), GLCoreError>

Source§

fn glBindBufferRange( &self, target: u32, index: u32, buffer: u32, offset: usize, size: usize, ) -> Result<(), GLCoreError>

Source§

fn glBindBufferBase( &self, target: u32, index: u32, buffer: u32, ) -> Result<(), GLCoreError>

Source§

fn glTransformFeedbackVaryings( &self, program: u32, count: i32, varyings: *const *const i8, bufferMode: u32, ) -> Result<(), GLCoreError>

Source§

fn glGetTransformFeedbackVarying( &self, program: u32, index: u32, bufSize: i32, length: *mut i32, size: *mut i32, type_: *mut u32, name: *mut i8, ) -> Result<(), GLCoreError>

Source§

fn glClampColor(&self, target: u32, clamp: u32) -> Result<(), GLCoreError>

Source§

fn glBeginConditionalRender( &self, id: u32, mode: u32, ) -> Result<(), GLCoreError>

Source§

fn glEndConditionalRender(&self) -> Result<(), GLCoreError>

Source§

fn glVertexAttribIPointer( &self, index: u32, size: i32, type_: u32, stride: i32, pointer: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetVertexAttribIiv( &self, index: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetVertexAttribIuiv( &self, index: u32, pname: u32, params: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI1i(&self, index: u32, x: i32) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI2i( &self, index: u32, x: i32, y: i32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI3i( &self, index: u32, x: i32, y: i32, z: i32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI4i( &self, index: u32, x: i32, y: i32, z: i32, w: i32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI1ui(&self, index: u32, x: u32) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI2ui( &self, index: u32, x: u32, y: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI3ui( &self, index: u32, x: u32, y: u32, z: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI4ui( &self, index: u32, x: u32, y: u32, z: u32, w: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI1iv( &self, index: u32, v: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI2iv( &self, index: u32, v: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI3iv( &self, index: u32, v: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI4iv( &self, index: u32, v: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI1uiv( &self, index: u32, v: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI2uiv( &self, index: u32, v: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI3uiv( &self, index: u32, v: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI4uiv( &self, index: u32, v: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI4bv( &self, index: u32, v: *const i8, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI4sv( &self, index: u32, v: *const i16, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI4ubv( &self, index: u32, v: *const u8, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribI4usv( &self, index: u32, v: *const u16, ) -> Result<(), GLCoreError>

Source§

fn glGetUniformuiv( &self, program: u32, location: i32, params: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glBindFragDataLocation( &self, program: u32, color: u32, name: *const i8, ) -> Result<(), GLCoreError>

Source§

fn glGetFragDataLocation( &self, program: u32, name: *const i8, ) -> Result<i32, GLCoreError>

Source§

fn glUniform1ui(&self, location: i32, v0: u32) -> Result<(), GLCoreError>

Source§

fn glUniform2ui( &self, location: i32, v0: u32, v1: u32, ) -> Result<(), GLCoreError>

Source§

fn glUniform3ui( &self, location: i32, v0: u32, v1: u32, v2: u32, ) -> Result<(), GLCoreError>

Source§

fn glUniform4ui( &self, location: i32, v0: u32, v1: u32, v2: u32, v3: u32, ) -> Result<(), GLCoreError>

Source§

fn glUniform1uiv( &self, location: i32, count: i32, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glUniform2uiv( &self, location: i32, count: i32, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glUniform3uiv( &self, location: i32, count: i32, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glUniform4uiv( &self, location: i32, count: i32, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glTexParameterIiv( &self, target: u32, pname: u32, params: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glTexParameterIuiv( &self, target: u32, pname: u32, params: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glGetTexParameterIiv( &self, target: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetTexParameterIuiv( &self, target: u32, pname: u32, params: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glClearBufferiv( &self, buffer: u32, drawbuffer: i32, value: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glClearBufferuiv( &self, buffer: u32, drawbuffer: i32, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glClearBufferfv( &self, buffer: u32, drawbuffer: i32, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glClearBufferfi( &self, buffer: u32, drawbuffer: i32, depth: f32, stencil: i32, ) -> Result<(), GLCoreError>

Source§

fn glGetStringi( &self, name: u32, index: u32, ) -> Result<&'static str, GLCoreError>

Source§

fn glIsRenderbuffer(&self, renderbuffer: u32) -> Result<u8, GLCoreError>

Source§

fn glBindRenderbuffer( &self, target: u32, renderbuffer: u32, ) -> Result<(), GLCoreError>

Source§

fn glDeleteRenderbuffers( &self, n: i32, renderbuffers: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glGenRenderbuffers( &self, n: i32, renderbuffers: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glRenderbufferStorage( &self, target: u32, internalformat: u32, width: i32, height: i32, ) -> Result<(), GLCoreError>

Source§

fn glGetRenderbufferParameteriv( &self, target: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glIsFramebuffer(&self, framebuffer: u32) -> Result<u8, GLCoreError>

Source§

fn glBindFramebuffer( &self, target: u32, framebuffer: u32, ) -> Result<(), GLCoreError>

Source§

fn glDeleteFramebuffers( &self, n: i32, framebuffers: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glGenFramebuffers( &self, n: i32, framebuffers: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glCheckFramebufferStatus(&self, target: u32) -> Result<u32, GLCoreError>

Source§

fn glFramebufferTexture1D( &self, target: u32, attachment: u32, textarget: u32, texture: u32, level: i32, ) -> Result<(), GLCoreError>

Source§

fn glFramebufferTexture2D( &self, target: u32, attachment: u32, textarget: u32, texture: u32, level: i32, ) -> Result<(), GLCoreError>

Source§

fn glFramebufferTexture3D( &self, target: u32, attachment: u32, textarget: u32, texture: u32, level: i32, zoffset: i32, ) -> Result<(), GLCoreError>

Source§

fn glFramebufferRenderbuffer( &self, target: u32, attachment: u32, renderbuffertarget: u32, renderbuffer: u32, ) -> Result<(), GLCoreError>

Source§

fn glGetFramebufferAttachmentParameteriv( &self, target: u32, attachment: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGenerateMipmap(&self, target: u32) -> Result<(), GLCoreError>

Source§

fn glBlitFramebuffer( &self, srcX0: i32, srcY0: i32, srcX1: i32, srcY1: i32, dstX0: i32, dstY0: i32, dstX1: i32, dstY1: i32, mask: u32, filter: u32, ) -> Result<(), GLCoreError>

Source§

fn glRenderbufferStorageMultisample( &self, target: u32, samples: i32, internalformat: u32, width: i32, height: i32, ) -> Result<(), GLCoreError>

Source§

fn glFramebufferTextureLayer( &self, target: u32, attachment: u32, texture: u32, level: i32, layer: i32, ) -> Result<(), GLCoreError>

Source§

fn glMapBufferRange( &self, target: u32, offset: usize, length: usize, access: u32, ) -> Result<*mut c_void, GLCoreError>

Source§

fn glFlushMappedBufferRange( &self, target: u32, offset: usize, length: usize, ) -> Result<(), GLCoreError>

Source§

fn glBindVertexArray(&self, array: u32) -> Result<(), GLCoreError>

Source§

fn glDeleteVertexArrays( &self, n: i32, arrays: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glGenVertexArrays(&self, n: i32, arrays: *mut u32) -> Result<(), GLCoreError>

Source§

fn glIsVertexArray(&self, array: u32) -> Result<u8, GLCoreError>

Source§

impl GL_3_1_g for GLCore

Source§

fn glDrawArraysInstanced( &self, mode: u32, first: i32, count: i32, instancecount: i32, ) -> Result<(), GLCoreError>

Source§

fn glDrawElementsInstanced( &self, mode: u32, count: i32, type_: u32, indices: *const c_void, instancecount: i32, ) -> Result<(), GLCoreError>

Source§

fn glTexBuffer( &self, target: u32, internalformat: u32, buffer: u32, ) -> Result<(), GLCoreError>

Source§

fn glPrimitiveRestartIndex(&self, index: u32) -> Result<(), GLCoreError>

Source§

fn glCopyBufferSubData( &self, readTarget: u32, writeTarget: u32, readOffset: usize, writeOffset: usize, size: usize, ) -> Result<(), GLCoreError>

Source§

fn glGetUniformIndices( &self, program: u32, uniformCount: i32, uniformNames: *const *const i8, uniformIndices: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glGetActiveUniformsiv( &self, program: u32, uniformCount: i32, uniformIndices: *const u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetActiveUniformName( &self, program: u32, uniformIndex: u32, bufSize: i32, length: *mut i32, uniformName: *mut i8, ) -> Result<(), GLCoreError>

Source§

fn glGetUniformBlockIndex( &self, program: u32, uniformBlockName: *const i8, ) -> Result<u32, GLCoreError>

Source§

fn glGetActiveUniformBlockiv( &self, program: u32, uniformBlockIndex: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetActiveUniformBlockName( &self, program: u32, uniformBlockIndex: u32, bufSize: i32, length: *mut i32, uniformBlockName: *mut i8, ) -> Result<(), GLCoreError>

Source§

fn glUniformBlockBinding( &self, program: u32, uniformBlockIndex: u32, uniformBlockBinding: u32, ) -> Result<(), GLCoreError>

Source§

impl GL_3_2_g for GLCore

Source§

fn glDrawElementsBaseVertex( &self, mode: u32, count: i32, type_: u32, indices: *const c_void, basevertex: i32, ) -> Result<(), GLCoreError>

Source§

fn glDrawRangeElementsBaseVertex( &self, mode: u32, start: u32, end: u32, count: i32, type_: u32, indices: *const c_void, basevertex: i32, ) -> Result<(), GLCoreError>

Source§

fn glDrawElementsInstancedBaseVertex( &self, mode: u32, count: i32, type_: u32, indices: *const c_void, instancecount: i32, basevertex: i32, ) -> Result<(), GLCoreError>

Source§

fn glMultiDrawElementsBaseVertex( &self, mode: u32, count: *const i32, type_: u32, indices: *const *const c_void, drawcount: i32, basevertex: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glProvokingVertex(&self, mode: u32) -> Result<(), GLCoreError>

Source§

fn glFenceSync( &self, condition: u32, flags: u32, ) -> Result<*mut c_void, GLCoreError>

Source§

fn glIsSync(&self, sync: *mut c_void) -> Result<u8, GLCoreError>

Source§

fn glDeleteSync(&self, sync: *mut c_void) -> Result<(), GLCoreError>

Source§

fn glClientWaitSync( &self, sync: *mut c_void, flags: u32, timeout: u64, ) -> Result<u32, GLCoreError>

Source§

fn glWaitSync( &self, sync: *mut c_void, flags: u32, timeout: u64, ) -> Result<(), GLCoreError>

Source§

fn glGetInteger64v(&self, pname: u32, data: *mut i64) -> Result<(), GLCoreError>

Source§

fn glGetSynciv( &self, sync: *mut c_void, pname: u32, count: i32, length: *mut i32, values: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetInteger64i_v( &self, target: u32, index: u32, data: *mut i64, ) -> Result<(), GLCoreError>

Source§

fn glGetBufferParameteri64v( &self, target: u32, pname: u32, params: *mut i64, ) -> Result<(), GLCoreError>

Source§

fn glFramebufferTexture( &self, target: u32, attachment: u32, texture: u32, level: i32, ) -> Result<(), GLCoreError>

Source§

fn glTexImage2DMultisample( &self, target: u32, samples: i32, internalformat: u32, width: i32, height: i32, fixedsamplelocations: u8, ) -> Result<(), GLCoreError>

Source§

fn glTexImage3DMultisample( &self, target: u32, samples: i32, internalformat: u32, width: i32, height: i32, depth: i32, fixedsamplelocations: u8, ) -> Result<(), GLCoreError>

Source§

fn glGetMultisamplefv( &self, pname: u32, index: u32, val: *mut f32, ) -> Result<(), GLCoreError>

Source§

fn glSampleMaski(&self, maskNumber: u32, mask: u32) -> Result<(), GLCoreError>

Source§

impl GL_3_3_g for GLCore

Source§

fn glBindFragDataLocationIndexed( &self, program: u32, colorNumber: u32, index: u32, name: *const i8, ) -> Result<(), GLCoreError>

Source§

fn glGetFragDataIndex( &self, program: u32, name: *const i8, ) -> Result<i32, GLCoreError>

Source§

fn glGenSamplers( &self, count: i32, samplers: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glDeleteSamplers( &self, count: i32, samplers: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glIsSampler(&self, sampler: u32) -> Result<u8, GLCoreError>

Source§

fn glBindSampler(&self, unit: u32, sampler: u32) -> Result<(), GLCoreError>

Source§

fn glSamplerParameteri( &self, sampler: u32, pname: u32, param: i32, ) -> Result<(), GLCoreError>

Source§

fn glSamplerParameteriv( &self, sampler: u32, pname: u32, param: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glSamplerParameterf( &self, sampler: u32, pname: u32, param: f32, ) -> Result<(), GLCoreError>

Source§

fn glSamplerParameterfv( &self, sampler: u32, pname: u32, param: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glSamplerParameterIiv( &self, sampler: u32, pname: u32, param: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glSamplerParameterIuiv( &self, sampler: u32, pname: u32, param: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glGetSamplerParameteriv( &self, sampler: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetSamplerParameterIiv( &self, sampler: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetSamplerParameterfv( &self, sampler: u32, pname: u32, params: *mut f32, ) -> Result<(), GLCoreError>

Source§

fn glGetSamplerParameterIuiv( &self, sampler: u32, pname: u32, params: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glQueryCounter(&self, id: u32, target: u32) -> Result<(), GLCoreError>

Source§

fn glGetQueryObjecti64v( &self, id: u32, pname: u32, params: *mut i64, ) -> Result<(), GLCoreError>

Source§

fn glGetQueryObjectui64v( &self, id: u32, pname: u32, params: *mut u64, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribDivisor( &self, index: u32, divisor: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribP1ui( &self, index: u32, type_: u32, normalized: u8, value: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribP1uiv( &self, index: u32, type_: u32, normalized: u8, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribP2ui( &self, index: u32, type_: u32, normalized: u8, value: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribP2uiv( &self, index: u32, type_: u32, normalized: u8, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribP3ui( &self, index: u32, type_: u32, normalized: u8, value: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribP3uiv( &self, index: u32, type_: u32, normalized: u8, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribP4ui( &self, index: u32, type_: u32, normalized: u8, value: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribP4uiv( &self, index: u32, type_: u32, normalized: u8, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexP2ui(&self, type_: u32, value: u32) -> Result<(), GLCoreError>

Source§

fn glVertexP2uiv( &self, type_: u32, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexP3ui(&self, type_: u32, value: u32) -> Result<(), GLCoreError>

Source§

fn glVertexP3uiv( &self, type_: u32, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexP4ui(&self, type_: u32, value: u32) -> Result<(), GLCoreError>

Source§

fn glVertexP4uiv( &self, type_: u32, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glTexCoordP1ui(&self, type_: u32, coords: u32) -> Result<(), GLCoreError>

Source§

fn glTexCoordP1uiv( &self, type_: u32, coords: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glTexCoordP2ui(&self, type_: u32, coords: u32) -> Result<(), GLCoreError>

Source§

fn glTexCoordP2uiv( &self, type_: u32, coords: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glTexCoordP3ui(&self, type_: u32, coords: u32) -> Result<(), GLCoreError>

Source§

fn glTexCoordP3uiv( &self, type_: u32, coords: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glTexCoordP4ui(&self, type_: u32, coords: u32) -> Result<(), GLCoreError>

Source§

fn glTexCoordP4uiv( &self, type_: u32, coords: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoordP1ui( &self, texture: u32, type_: u32, coords: u32, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoordP1uiv( &self, texture: u32, type_: u32, coords: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoordP2ui( &self, texture: u32, type_: u32, coords: u32, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoordP2uiv( &self, texture: u32, type_: u32, coords: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoordP3ui( &self, texture: u32, type_: u32, coords: u32, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoordP3uiv( &self, texture: u32, type_: u32, coords: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoordP4ui( &self, texture: u32, type_: u32, coords: u32, ) -> Result<(), GLCoreError>

Source§

fn glMultiTexCoordP4uiv( &self, texture: u32, type_: u32, coords: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glNormalP3ui(&self, type_: u32, coords: u32) -> Result<(), GLCoreError>

Source§

fn glNormalP3uiv( &self, type_: u32, coords: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glColorP3ui(&self, type_: u32, color: u32) -> Result<(), GLCoreError>

Source§

fn glColorP3uiv(&self, type_: u32, color: *const u32) -> Result<(), GLCoreError>

Source§

fn glColorP4ui(&self, type_: u32, color: u32) -> Result<(), GLCoreError>

Source§

fn glColorP4uiv(&self, type_: u32, color: *const u32) -> Result<(), GLCoreError>

Source§

fn glSecondaryColorP3ui( &self, type_: u32, color: u32, ) -> Result<(), GLCoreError>

Source§

fn glSecondaryColorP3uiv( &self, type_: u32, color: *const u32, ) -> Result<(), GLCoreError>

Source§

impl GL_4_0_g for GLCore

Source§

fn glMinSampleShading(&self, value: f32) -> Result<(), GLCoreError>

Source§

fn glBlendEquationi(&self, buf: u32, mode: u32) -> Result<(), GLCoreError>

Source§

fn glBlendEquationSeparatei( &self, buf: u32, modeRGB: u32, modeAlpha: u32, ) -> Result<(), GLCoreError>

Source§

fn glBlendFunci(&self, buf: u32, src: u32, dst: u32) -> Result<(), GLCoreError>

Source§

fn glBlendFuncSeparatei( &self, buf: u32, srcRGB: u32, dstRGB: u32, srcAlpha: u32, dstAlpha: u32, ) -> Result<(), GLCoreError>

Source§

fn glDrawArraysIndirect( &self, mode: u32, indirect: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glDrawElementsIndirect( &self, mode: u32, type_: u32, indirect: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glUniform1d(&self, location: i32, x: f64) -> Result<(), GLCoreError>

Source§

fn glUniform2d(&self, location: i32, x: f64, y: f64) -> Result<(), GLCoreError>

Source§

fn glUniform3d( &self, location: i32, x: f64, y: f64, z: f64, ) -> Result<(), GLCoreError>

Source§

fn glUniform4d( &self, location: i32, x: f64, y: f64, z: f64, w: f64, ) -> Result<(), GLCoreError>

Source§

fn glUniform1dv( &self, location: i32, count: i32, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glUniform2dv( &self, location: i32, count: i32, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glUniform3dv( &self, location: i32, count: i32, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glUniform4dv( &self, location: i32, count: i32, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glUniformMatrix2dv( &self, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glUniformMatrix3dv( &self, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glUniformMatrix4dv( &self, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glUniformMatrix2x3dv( &self, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glUniformMatrix2x4dv( &self, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glUniformMatrix3x2dv( &self, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glUniformMatrix3x4dv( &self, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glUniformMatrix4x2dv( &self, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glUniformMatrix4x3dv( &self, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glGetUniformdv( &self, program: u32, location: i32, params: *mut f64, ) -> Result<(), GLCoreError>

Source§

fn glGetSubroutineUniformLocation( &self, program: u32, shadertype: u32, name: *const i8, ) -> Result<i32, GLCoreError>

Source§

fn glGetSubroutineIndex( &self, program: u32, shadertype: u32, name: *const i8, ) -> Result<u32, GLCoreError>

Source§

fn glGetActiveSubroutineUniformiv( &self, program: u32, shadertype: u32, index: u32, pname: u32, values: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetActiveSubroutineUniformName( &self, program: u32, shadertype: u32, index: u32, bufSize: i32, length: *mut i32, name: *mut i8, ) -> Result<(), GLCoreError>

Source§

fn glGetActiveSubroutineName( &self, program: u32, shadertype: u32, index: u32, bufSize: i32, length: *mut i32, name: *mut i8, ) -> Result<(), GLCoreError>

Source§

fn glUniformSubroutinesuiv( &self, shadertype: u32, count: i32, indices: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glGetUniformSubroutineuiv( &self, shadertype: u32, location: i32, params: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glGetProgramStageiv( &self, program: u32, shadertype: u32, pname: u32, values: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glPatchParameteri(&self, pname: u32, value: i32) -> Result<(), GLCoreError>

Source§

fn glPatchParameterfv( &self, pname: u32, values: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glBindTransformFeedback( &self, target: u32, id: u32, ) -> Result<(), GLCoreError>

Source§

fn glDeleteTransformFeedbacks( &self, n: i32, ids: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glGenTransformFeedbacks( &self, n: i32, ids: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glIsTransformFeedback(&self, id: u32) -> Result<u8, GLCoreError>

Source§

fn glPauseTransformFeedback(&self) -> Result<(), GLCoreError>

Source§

fn glResumeTransformFeedback(&self) -> Result<(), GLCoreError>

Source§

fn glDrawTransformFeedback(&self, mode: u32, id: u32) -> Result<(), GLCoreError>

Source§

fn glDrawTransformFeedbackStream( &self, mode: u32, id: u32, stream: u32, ) -> Result<(), GLCoreError>

Source§

fn glBeginQueryIndexed( &self, target: u32, index: u32, id: u32, ) -> Result<(), GLCoreError>

Source§

fn glEndQueryIndexed(&self, target: u32, index: u32) -> Result<(), GLCoreError>

Source§

fn glGetQueryIndexediv( &self, target: u32, index: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

impl GL_4_1_g for GLCore

Source§

fn glReleaseShaderCompiler(&self) -> Result<(), GLCoreError>

Source§

fn glShaderBinary( &self, count: i32, shaders: *const u32, binaryFormat: u32, binary: *const c_void, length: i32, ) -> Result<(), GLCoreError>

Source§

fn glGetShaderPrecisionFormat( &self, shadertype: u32, precisiontype: u32, range: *mut i32, precision: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glDepthRangef(&self, n: f32, f: f32) -> Result<(), GLCoreError>

Source§

fn glClearDepthf(&self, d: f32) -> Result<(), GLCoreError>

Source§

fn glGetProgramBinary( &self, program: u32, bufSize: i32, length: *mut i32, binaryFormat: *mut u32, binary: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glProgramBinary( &self, program: u32, binaryFormat: u32, binary: *const c_void, length: i32, ) -> Result<(), GLCoreError>

Source§

fn glProgramParameteri( &self, program: u32, pname: u32, value: i32, ) -> Result<(), GLCoreError>

Source§

fn glUseProgramStages( &self, pipeline: u32, stages: u32, program: u32, ) -> Result<(), GLCoreError>

Source§

fn glActiveShaderProgram( &self, pipeline: u32, program: u32, ) -> Result<(), GLCoreError>

Source§

fn glCreateShaderProgramv( &self, type_: u32, count: i32, strings: *const *const i8, ) -> Result<u32, GLCoreError>

Source§

fn glBindProgramPipeline(&self, pipeline: u32) -> Result<(), GLCoreError>

Source§

fn glDeleteProgramPipelines( &self, n: i32, pipelines: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glGenProgramPipelines( &self, n: i32, pipelines: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glIsProgramPipeline(&self, pipeline: u32) -> Result<u8, GLCoreError>

Source§

fn glGetProgramPipelineiv( &self, pipeline: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform1i( &self, program: u32, location: i32, v0: i32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform1iv( &self, program: u32, location: i32, count: i32, value: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform1f( &self, program: u32, location: i32, v0: f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform1fv( &self, program: u32, location: i32, count: i32, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform1d( &self, program: u32, location: i32, v0: f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform1dv( &self, program: u32, location: i32, count: i32, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform1ui( &self, program: u32, location: i32, v0: u32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform1uiv( &self, program: u32, location: i32, count: i32, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform2i( &self, program: u32, location: i32, v0: i32, v1: i32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform2iv( &self, program: u32, location: i32, count: i32, value: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform2f( &self, program: u32, location: i32, v0: f32, v1: f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform2fv( &self, program: u32, location: i32, count: i32, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform2d( &self, program: u32, location: i32, v0: f64, v1: f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform2dv( &self, program: u32, location: i32, count: i32, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform2ui( &self, program: u32, location: i32, v0: u32, v1: u32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform2uiv( &self, program: u32, location: i32, count: i32, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform3i( &self, program: u32, location: i32, v0: i32, v1: i32, v2: i32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform3iv( &self, program: u32, location: i32, count: i32, value: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform3f( &self, program: u32, location: i32, v0: f32, v1: f32, v2: f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform3fv( &self, program: u32, location: i32, count: i32, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform3d( &self, program: u32, location: i32, v0: f64, v1: f64, v2: f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform3dv( &self, program: u32, location: i32, count: i32, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform3ui( &self, program: u32, location: i32, v0: u32, v1: u32, v2: u32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform3uiv( &self, program: u32, location: i32, count: i32, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform4i( &self, program: u32, location: i32, v0: i32, v1: i32, v2: i32, v3: i32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform4iv( &self, program: u32, location: i32, count: i32, value: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform4f( &self, program: u32, location: i32, v0: f32, v1: f32, v2: f32, v3: f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform4fv( &self, program: u32, location: i32, count: i32, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform4d( &self, program: u32, location: i32, v0: f64, v1: f64, v2: f64, v3: f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform4dv( &self, program: u32, location: i32, count: i32, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform4ui( &self, program: u32, location: i32, v0: u32, v1: u32, v2: u32, v3: u32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniform4uiv( &self, program: u32, location: i32, count: i32, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix2fv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix3fv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix4fv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix2dv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix3dv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix4dv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix2x3fv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix3x2fv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix2x4fv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix4x2fv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix3x4fv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix4x3fv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix2x3dv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix3x2dv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix2x4dv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix4x2dv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix3x4dv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glProgramUniformMatrix4x3dv( &self, program: u32, location: i32, count: i32, transpose: u8, value: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glValidateProgramPipeline(&self, pipeline: u32) -> Result<(), GLCoreError>

Source§

fn glGetProgramPipelineInfoLog( &self, pipeline: u32, bufSize: i32, length: *mut i32, infoLog: *mut i8, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribL1d(&self, index: u32, x: f64) -> Result<(), GLCoreError>

Source§

fn glVertexAttribL2d( &self, index: u32, x: f64, y: f64, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribL3d( &self, index: u32, x: f64, y: f64, z: f64, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribL4d( &self, index: u32, x: f64, y: f64, z: f64, w: f64, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribL1dv( &self, index: u32, v: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribL2dv( &self, index: u32, v: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribL3dv( &self, index: u32, v: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribL4dv( &self, index: u32, v: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribLPointer( &self, index: u32, size: i32, type_: u32, stride: i32, pointer: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetVertexAttribLdv( &self, index: u32, pname: u32, params: *mut f64, ) -> Result<(), GLCoreError>

Source§

fn glViewportArrayv( &self, first: u32, count: i32, v: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glViewportIndexedf( &self, index: u32, x: f32, y: f32, w: f32, h: f32, ) -> Result<(), GLCoreError>

Source§

fn glViewportIndexedfv( &self, index: u32, v: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glScissorArrayv( &self, first: u32, count: i32, v: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glScissorIndexed( &self, index: u32, left: i32, bottom: i32, width: i32, height: i32, ) -> Result<(), GLCoreError>

Source§

fn glScissorIndexedv( &self, index: u32, v: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glDepthRangeArrayv( &self, first: u32, count: i32, v: *const f64, ) -> Result<(), GLCoreError>

Source§

fn glDepthRangeIndexed( &self, index: u32, n: f64, f: f64, ) -> Result<(), GLCoreError>

Source§

fn glGetFloati_v( &self, target: u32, index: u32, data: *mut f32, ) -> Result<(), GLCoreError>

Source§

fn glGetDoublei_v( &self, target: u32, index: u32, data: *mut f64, ) -> Result<(), GLCoreError>

Source§

impl GL_4_2_g for GLCore

Source§

fn glDrawArraysInstancedBaseInstance( &self, mode: u32, first: i32, count: i32, instancecount: i32, baseinstance: u32, ) -> Result<(), GLCoreError>

Source§

fn glDrawElementsInstancedBaseInstance( &self, mode: u32, count: i32, type_: u32, indices: *const c_void, instancecount: i32, baseinstance: u32, ) -> Result<(), GLCoreError>

Source§

fn glDrawElementsInstancedBaseVertexBaseInstance( &self, mode: u32, count: i32, type_: u32, indices: *const c_void, instancecount: i32, basevertex: i32, baseinstance: u32, ) -> Result<(), GLCoreError>

Source§

fn glGetInternalformativ( &self, target: u32, internalformat: u32, pname: u32, count: i32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetActiveAtomicCounterBufferiv( &self, program: u32, bufferIndex: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glBindImageTexture( &self, unit: u32, texture: u32, level: i32, layered: u8, layer: i32, access: u32, format: u32, ) -> Result<(), GLCoreError>

Source§

fn glMemoryBarrier(&self, barriers: u32) -> Result<(), GLCoreError>

Source§

fn glTexStorage1D( &self, target: u32, levels: i32, internalformat: u32, width: i32, ) -> Result<(), GLCoreError>

Source§

fn glTexStorage2D( &self, target: u32, levels: i32, internalformat: u32, width: i32, height: i32, ) -> Result<(), GLCoreError>

Source§

fn glTexStorage3D( &self, target: u32, levels: i32, internalformat: u32, width: i32, height: i32, depth: i32, ) -> Result<(), GLCoreError>

Source§

fn glDrawTransformFeedbackInstanced( &self, mode: u32, id: u32, instancecount: i32, ) -> Result<(), GLCoreError>

Source§

fn glDrawTransformFeedbackStreamInstanced( &self, mode: u32, id: u32, stream: u32, instancecount: i32, ) -> Result<(), GLCoreError>

Source§

impl GL_4_3_g for GLCore

Source§

fn glClearBufferData( &self, target: u32, internalformat: u32, format: u32, type_: u32, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glClearBufferSubData( &self, target: u32, internalformat: u32, offset: usize, size: usize, format: u32, type_: u32, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glDispatchCompute( &self, num_groups_x: u32, num_groups_y: u32, num_groups_z: u32, ) -> Result<(), GLCoreError>

Source§

fn glDispatchComputeIndirect(&self, indirect: usize) -> Result<(), GLCoreError>

Source§

fn glCopyImageSubData( &self, srcName: u32, srcTarget: u32, srcLevel: i32, srcX: i32, srcY: i32, srcZ: i32, dstName: u32, dstTarget: u32, dstLevel: i32, dstX: i32, dstY: i32, dstZ: i32, srcWidth: i32, srcHeight: i32, srcDepth: i32, ) -> Result<(), GLCoreError>

Source§

fn glFramebufferParameteri( &self, target: u32, pname: u32, param: i32, ) -> Result<(), GLCoreError>

Source§

fn glGetFramebufferParameteriv( &self, target: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetInternalformati64v( &self, target: u32, internalformat: u32, pname: u32, count: i32, params: *mut i64, ) -> Result<(), GLCoreError>

Source§

fn glInvalidateTexSubImage( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, ) -> Result<(), GLCoreError>

Source§

fn glInvalidateTexImage( &self, texture: u32, level: i32, ) -> Result<(), GLCoreError>

Source§

fn glInvalidateBufferSubData( &self, buffer: u32, offset: usize, length: usize, ) -> Result<(), GLCoreError>

Source§

fn glInvalidateBufferData(&self, buffer: u32) -> Result<(), GLCoreError>

Source§

fn glInvalidateFramebuffer( &self, target: u32, numAttachments: i32, attachments: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glInvalidateSubFramebuffer( &self, target: u32, numAttachments: i32, attachments: *const u32, x: i32, y: i32, width: i32, height: i32, ) -> Result<(), GLCoreError>

Source§

fn glMultiDrawArraysIndirect( &self, mode: u32, indirect: *const c_void, drawcount: i32, stride: i32, ) -> Result<(), GLCoreError>

Source§

fn glMultiDrawElementsIndirect( &self, mode: u32, type_: u32, indirect: *const c_void, drawcount: i32, stride: i32, ) -> Result<(), GLCoreError>

Source§

fn glGetProgramInterfaceiv( &self, program: u32, programInterface: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetProgramResourceIndex( &self, program: u32, programInterface: u32, name: *const i8, ) -> Result<u32, GLCoreError>

Source§

fn glGetProgramResourceName( &self, program: u32, programInterface: u32, index: u32, bufSize: i32, length: *mut i32, name: *mut i8, ) -> Result<(), GLCoreError>

Source§

fn glGetProgramResourceiv( &self, program: u32, programInterface: u32, index: u32, propCount: i32, props: *const u32, count: i32, length: *mut i32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetProgramResourceLocation( &self, program: u32, programInterface: u32, name: *const i8, ) -> Result<i32, GLCoreError>

Source§

fn glGetProgramResourceLocationIndex( &self, program: u32, programInterface: u32, name: *const i8, ) -> Result<i32, GLCoreError>

Source§

fn glShaderStorageBlockBinding( &self, program: u32, storageBlockIndex: u32, storageBlockBinding: u32, ) -> Result<(), GLCoreError>

Source§

fn glTexBufferRange( &self, target: u32, internalformat: u32, buffer: u32, offset: usize, size: usize, ) -> Result<(), GLCoreError>

Source§

fn glTexStorage2DMultisample( &self, target: u32, samples: i32, internalformat: u32, width: i32, height: i32, fixedsamplelocations: u8, ) -> Result<(), GLCoreError>

Source§

fn glTexStorage3DMultisample( &self, target: u32, samples: i32, internalformat: u32, width: i32, height: i32, depth: i32, fixedsamplelocations: u8, ) -> Result<(), GLCoreError>

Source§

fn glTextureView( &self, texture: u32, target: u32, origtexture: u32, internalformat: u32, minlevel: u32, numlevels: u32, minlayer: u32, numlayers: u32, ) -> Result<(), GLCoreError>

Source§

fn glBindVertexBuffer( &self, bindingindex: u32, buffer: u32, offset: usize, stride: i32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribFormat( &self, attribindex: u32, size: i32, type_: u32, normalized: u8, relativeoffset: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribIFormat( &self, attribindex: u32, size: i32, type_: u32, relativeoffset: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribLFormat( &self, attribindex: u32, size: i32, type_: u32, relativeoffset: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexAttribBinding( &self, attribindex: u32, bindingindex: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexBindingDivisor( &self, bindingindex: u32, divisor: u32, ) -> Result<(), GLCoreError>

Source§

fn glDebugMessageControl( &self, source: u32, type_: u32, severity: u32, count: i32, ids: *const u32, enabled: u8, ) -> Result<(), GLCoreError>

Source§

fn glDebugMessageInsert( &self, source: u32, type_: u32, id: u32, severity: u32, length: i32, buf: *const i8, ) -> Result<(), GLCoreError>

Source§

fn glDebugMessageCallback( &self, callback: extern "system" fn(u32, u32, u32, u32, i32, *const i8, *const c_void), userParam: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetDebugMessageLog( &self, count: u32, bufSize: i32, sources: *mut u32, types: *mut u32, ids: *mut u32, severities: *mut u32, lengths: *mut i32, messageLog: *mut i8, ) -> Result<u32, GLCoreError>

Source§

fn glPushDebugGroup( &self, source: u32, id: u32, length: i32, message: *const i8, ) -> Result<(), GLCoreError>

Source§

fn glPopDebugGroup(&self) -> Result<(), GLCoreError>

Source§

fn glObjectLabel( &self, identifier: u32, name: u32, length: i32, label: *const i8, ) -> Result<(), GLCoreError>

Source§

fn glGetObjectLabel( &self, identifier: u32, name: u32, bufSize: i32, length: *mut i32, label: *mut i8, ) -> Result<(), GLCoreError>

Source§

fn glObjectPtrLabel( &self, ptr: *const c_void, length: i32, label: *const i8, ) -> Result<(), GLCoreError>

Source§

fn glGetObjectPtrLabel( &self, ptr: *const c_void, bufSize: i32, length: *mut i32, label: *mut i8, ) -> Result<(), GLCoreError>

Source§

impl GL_4_4_g for GLCore

Source§

fn glBufferStorage( &self, target: u32, size: usize, data: *const c_void, flags: u32, ) -> Result<(), GLCoreError>

Source§

fn glClearTexImage( &self, texture: u32, level: i32, format: u32, type_: u32, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glClearTexSubImage( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glBindBuffersBase( &self, target: u32, first: u32, count: i32, buffers: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glBindBuffersRange( &self, target: u32, first: u32, count: i32, buffers: *const u32, offsets: *const usize, sizes: *const usize, ) -> Result<(), GLCoreError>

Source§

fn glBindTextures( &self, first: u32, count: i32, textures: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glBindSamplers( &self, first: u32, count: i32, samplers: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glBindImageTextures( &self, first: u32, count: i32, textures: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glBindVertexBuffers( &self, first: u32, count: i32, buffers: *const u32, offsets: *const usize, strides: *const i32, ) -> Result<(), GLCoreError>

Source§

impl GL_4_5_g for GLCore

Source§

fn glClipControl(&self, origin: u32, depth: u32) -> Result<(), GLCoreError>

Source§

fn glCreateTransformFeedbacks( &self, n: i32, ids: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glTransformFeedbackBufferBase( &self, xfb: u32, index: u32, buffer: u32, ) -> Result<(), GLCoreError>

Source§

fn glTransformFeedbackBufferRange( &self, xfb: u32, index: u32, buffer: u32, offset: usize, size: usize, ) -> Result<(), GLCoreError>

Source§

fn glGetTransformFeedbackiv( &self, xfb: u32, pname: u32, param: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetTransformFeedbacki_v( &self, xfb: u32, pname: u32, index: u32, param: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetTransformFeedbacki64_v( &self, xfb: u32, pname: u32, index: u32, param: *mut i64, ) -> Result<(), GLCoreError>

Source§

fn glCreateBuffers(&self, n: i32, buffers: *mut u32) -> Result<(), GLCoreError>

Source§

fn glNamedBufferStorage( &self, buffer: u32, size: usize, data: *const c_void, flags: u32, ) -> Result<(), GLCoreError>

Source§

fn glNamedBufferData( &self, buffer: u32, size: usize, data: *const c_void, usage: u32, ) -> Result<(), GLCoreError>

Source§

fn glNamedBufferSubData( &self, buffer: u32, offset: usize, size: usize, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glCopyNamedBufferSubData( &self, readBuffer: u32, writeBuffer: u32, readOffset: usize, writeOffset: usize, size: usize, ) -> Result<(), GLCoreError>

Source§

fn glClearNamedBufferData( &self, buffer: u32, internalformat: u32, format: u32, type_: u32, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glClearNamedBufferSubData( &self, buffer: u32, internalformat: u32, offset: usize, size: usize, format: u32, type_: u32, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glMapNamedBuffer( &self, buffer: u32, access: u32, ) -> Result<*mut c_void, GLCoreError>

Source§

fn glMapNamedBufferRange( &self, buffer: u32, offset: usize, length: usize, access: u32, ) -> Result<*mut c_void, GLCoreError>

Source§

fn glUnmapNamedBuffer(&self, buffer: u32) -> Result<u8, GLCoreError>

Source§

fn glFlushMappedNamedBufferRange( &self, buffer: u32, offset: usize, length: usize, ) -> Result<(), GLCoreError>

Source§

fn glGetNamedBufferParameteriv( &self, buffer: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetNamedBufferParameteri64v( &self, buffer: u32, pname: u32, params: *mut i64, ) -> Result<(), GLCoreError>

Source§

fn glGetNamedBufferPointerv( &self, buffer: u32, pname: u32, params: *mut *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetNamedBufferSubData( &self, buffer: u32, offset: usize, size: usize, data: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glCreateFramebuffers( &self, n: i32, framebuffers: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glNamedFramebufferRenderbuffer( &self, framebuffer: u32, attachment: u32, renderbuffertarget: u32, renderbuffer: u32, ) -> Result<(), GLCoreError>

Source§

fn glNamedFramebufferParameteri( &self, framebuffer: u32, pname: u32, param: i32, ) -> Result<(), GLCoreError>

Source§

fn glNamedFramebufferTexture( &self, framebuffer: u32, attachment: u32, texture: u32, level: i32, ) -> Result<(), GLCoreError>

Source§

fn glNamedFramebufferTextureLayer( &self, framebuffer: u32, attachment: u32, texture: u32, level: i32, layer: i32, ) -> Result<(), GLCoreError>

Source§

fn glNamedFramebufferDrawBuffer( &self, framebuffer: u32, buf: u32, ) -> Result<(), GLCoreError>

Source§

fn glNamedFramebufferDrawBuffers( &self, framebuffer: u32, n: i32, bufs: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glNamedFramebufferReadBuffer( &self, framebuffer: u32, src: u32, ) -> Result<(), GLCoreError>

Source§

fn glInvalidateNamedFramebufferData( &self, framebuffer: u32, numAttachments: i32, attachments: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glInvalidateNamedFramebufferSubData( &self, framebuffer: u32, numAttachments: i32, attachments: *const u32, x: i32, y: i32, width: i32, height: i32, ) -> Result<(), GLCoreError>

Source§

fn glClearNamedFramebufferiv( &self, framebuffer: u32, buffer: u32, drawbuffer: i32, value: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glClearNamedFramebufferuiv( &self, framebuffer: u32, buffer: u32, drawbuffer: i32, value: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glClearNamedFramebufferfv( &self, framebuffer: u32, buffer: u32, drawbuffer: i32, value: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glClearNamedFramebufferfi( &self, framebuffer: u32, buffer: u32, drawbuffer: i32, depth: f32, stencil: i32, ) -> Result<(), GLCoreError>

Source§

fn glBlitNamedFramebuffer( &self, readFramebuffer: u32, drawFramebuffer: u32, srcX0: i32, srcY0: i32, srcX1: i32, srcY1: i32, dstX0: i32, dstY0: i32, dstX1: i32, dstY1: i32, mask: u32, filter: u32, ) -> Result<(), GLCoreError>

Source§

fn glCheckNamedFramebufferStatus( &self, framebuffer: u32, target: u32, ) -> Result<u32, GLCoreError>

Source§

fn glGetNamedFramebufferParameteriv( &self, framebuffer: u32, pname: u32, param: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetNamedFramebufferAttachmentParameteriv( &self, framebuffer: u32, attachment: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glCreateRenderbuffers( &self, n: i32, renderbuffers: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glNamedRenderbufferStorage( &self, renderbuffer: u32, internalformat: u32, width: i32, height: i32, ) -> Result<(), GLCoreError>

Source§

fn glNamedRenderbufferStorageMultisample( &self, renderbuffer: u32, samples: i32, internalformat: u32, width: i32, height: i32, ) -> Result<(), GLCoreError>

Source§

fn glGetNamedRenderbufferParameteriv( &self, renderbuffer: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glCreateTextures( &self, target: u32, n: i32, textures: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glTextureBuffer( &self, texture: u32, internalformat: u32, buffer: u32, ) -> Result<(), GLCoreError>

Source§

fn glTextureBufferRange( &self, texture: u32, internalformat: u32, buffer: u32, offset: usize, size: usize, ) -> Result<(), GLCoreError>

Source§

fn glTextureStorage1D( &self, texture: u32, levels: i32, internalformat: u32, width: i32, ) -> Result<(), GLCoreError>

Source§

fn glTextureStorage2D( &self, texture: u32, levels: i32, internalformat: u32, width: i32, height: i32, ) -> Result<(), GLCoreError>

Source§

fn glTextureStorage3D( &self, texture: u32, levels: i32, internalformat: u32, width: i32, height: i32, depth: i32, ) -> Result<(), GLCoreError>

Source§

fn glTextureStorage2DMultisample( &self, texture: u32, samples: i32, internalformat: u32, width: i32, height: i32, fixedsamplelocations: u8, ) -> Result<(), GLCoreError>

Source§

fn glTextureStorage3DMultisample( &self, texture: u32, samples: i32, internalformat: u32, width: i32, height: i32, depth: i32, fixedsamplelocations: u8, ) -> Result<(), GLCoreError>

Source§

fn glTextureSubImage1D( &self, texture: u32, level: i32, xoffset: i32, width: i32, format: u32, type_: u32, pixels: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glTextureSubImage2D( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, pixels: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glTextureSubImage3D( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, pixels: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glCompressedTextureSubImage1D( &self, texture: u32, level: i32, xoffset: i32, width: i32, format: u32, imageSize: i32, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glCompressedTextureSubImage2D( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, imageSize: i32, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glCompressedTextureSubImage3D( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, imageSize: i32, data: *const c_void, ) -> Result<(), GLCoreError>

Source§

fn glCopyTextureSubImage1D( &self, texture: u32, level: i32, xoffset: i32, x: i32, y: i32, width: i32, ) -> Result<(), GLCoreError>

Source§

fn glCopyTextureSubImage2D( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, x: i32, y: i32, width: i32, height: i32, ) -> Result<(), GLCoreError>

Source§

fn glCopyTextureSubImage3D( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, x: i32, y: i32, width: i32, height: i32, ) -> Result<(), GLCoreError>

Source§

fn glTextureParameterf( &self, texture: u32, pname: u32, param: f32, ) -> Result<(), GLCoreError>

Source§

fn glTextureParameterfv( &self, texture: u32, pname: u32, param: *const f32, ) -> Result<(), GLCoreError>

Source§

fn glTextureParameteri( &self, texture: u32, pname: u32, param: i32, ) -> Result<(), GLCoreError>

Source§

fn glTextureParameterIiv( &self, texture: u32, pname: u32, params: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glTextureParameterIuiv( &self, texture: u32, pname: u32, params: *const u32, ) -> Result<(), GLCoreError>

Source§

fn glTextureParameteriv( &self, texture: u32, pname: u32, param: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glGenerateTextureMipmap(&self, texture: u32) -> Result<(), GLCoreError>

Source§

fn glBindTextureUnit(&self, unit: u32, texture: u32) -> Result<(), GLCoreError>

Source§

fn glGetTextureImage( &self, texture: u32, level: i32, format: u32, type_: u32, bufSize: i32, pixels: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetCompressedTextureImage( &self, texture: u32, level: i32, bufSize: i32, pixels: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetTextureLevelParameterfv( &self, texture: u32, level: i32, pname: u32, params: *mut f32, ) -> Result<(), GLCoreError>

Source§

fn glGetTextureLevelParameteriv( &self, texture: u32, level: i32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetTextureParameterfv( &self, texture: u32, pname: u32, params: *mut f32, ) -> Result<(), GLCoreError>

Source§

fn glGetTextureParameterIiv( &self, texture: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetTextureParameterIuiv( &self, texture: u32, pname: u32, params: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glGetTextureParameteriv( &self, texture: u32, pname: u32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glCreateVertexArrays( &self, n: i32, arrays: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glDisableVertexArrayAttrib( &self, vaobj: u32, index: u32, ) -> Result<(), GLCoreError>

Source§

fn glEnableVertexArrayAttrib( &self, vaobj: u32, index: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexArrayElementBuffer( &self, vaobj: u32, buffer: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexArrayVertexBuffer( &self, vaobj: u32, bindingindex: u32, buffer: u32, offset: usize, stride: i32, ) -> Result<(), GLCoreError>

Source§

fn glVertexArrayVertexBuffers( &self, vaobj: u32, first: u32, count: i32, buffers: *const u32, offsets: *const usize, strides: *const i32, ) -> Result<(), GLCoreError>

Source§

fn glVertexArrayAttribBinding( &self, vaobj: u32, attribindex: u32, bindingindex: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexArrayAttribFormat( &self, vaobj: u32, attribindex: u32, size: i32, type_: u32, normalized: u8, relativeoffset: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexArrayAttribIFormat( &self, vaobj: u32, attribindex: u32, size: i32, type_: u32, relativeoffset: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexArrayAttribLFormat( &self, vaobj: u32, attribindex: u32, size: i32, type_: u32, relativeoffset: u32, ) -> Result<(), GLCoreError>

Source§

fn glVertexArrayBindingDivisor( &self, vaobj: u32, bindingindex: u32, divisor: u32, ) -> Result<(), GLCoreError>

Source§

fn glGetVertexArrayiv( &self, vaobj: u32, pname: u32, param: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetVertexArrayIndexediv( &self, vaobj: u32, index: u32, pname: u32, param: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetVertexArrayIndexed64iv( &self, vaobj: u32, index: u32, pname: u32, param: *mut i64, ) -> Result<(), GLCoreError>

Source§

fn glCreateSamplers( &self, n: i32, samplers: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glCreateProgramPipelines( &self, n: i32, pipelines: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glCreateQueries( &self, target: u32, n: i32, ids: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glGetQueryBufferObjecti64v( &self, id: u32, buffer: u32, pname: u32, offset: usize, ) -> Result<(), GLCoreError>

Source§

fn glGetQueryBufferObjectiv( &self, id: u32, buffer: u32, pname: u32, offset: usize, ) -> Result<(), GLCoreError>

Source§

fn glGetQueryBufferObjectui64v( &self, id: u32, buffer: u32, pname: u32, offset: usize, ) -> Result<(), GLCoreError>

Source§

fn glGetQueryBufferObjectuiv( &self, id: u32, buffer: u32, pname: u32, offset: usize, ) -> Result<(), GLCoreError>

Source§

fn glMemoryBarrierByRegion(&self, barriers: u32) -> Result<(), GLCoreError>

Source§

fn glGetTextureSubImage( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, bufSize: i32, pixels: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetCompressedTextureSubImage( &self, texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, bufSize: i32, pixels: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetGraphicsResetStatus(&self) -> Result<u32, GLCoreError>

Source§

fn glGetnCompressedTexImage( &self, target: u32, lod: i32, bufSize: i32, pixels: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetnTexImage( &self, target: u32, level: i32, format: u32, type_: u32, bufSize: i32, pixels: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetnUniformdv( &self, program: u32, location: i32, bufSize: i32, params: *mut f64, ) -> Result<(), GLCoreError>

Source§

fn glGetnUniformfv( &self, program: u32, location: i32, bufSize: i32, params: *mut f32, ) -> Result<(), GLCoreError>

Source§

fn glGetnUniformiv( &self, program: u32, location: i32, bufSize: i32, params: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetnUniformuiv( &self, program: u32, location: i32, bufSize: i32, params: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glReadnPixels( &self, x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, bufSize: i32, data: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetnMapdv( &self, target: u32, query: u32, bufSize: i32, v: *mut f64, ) -> Result<(), GLCoreError>

Source§

fn glGetnMapfv( &self, target: u32, query: u32, bufSize: i32, v: *mut f32, ) -> Result<(), GLCoreError>

Source§

fn glGetnMapiv( &self, target: u32, query: u32, bufSize: i32, v: *mut i32, ) -> Result<(), GLCoreError>

Source§

fn glGetnPixelMapfv( &self, map: u32, bufSize: i32, values: *mut f32, ) -> Result<(), GLCoreError>

Source§

fn glGetnPixelMapuiv( &self, map: u32, bufSize: i32, values: *mut u32, ) -> Result<(), GLCoreError>

Source§

fn glGetnPixelMapusv( &self, map: u32, bufSize: i32, values: *mut u16, ) -> Result<(), GLCoreError>

Source§

fn glGetnPolygonStipple( &self, bufSize: i32, pattern: *mut u8, ) -> Result<(), GLCoreError>

Source§

fn glGetnColorTable( &self, target: u32, format: u32, type_: u32, bufSize: i32, table: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetnConvolutionFilter( &self, target: u32, format: u32, type_: u32, bufSize: i32, image: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetnSeparableFilter( &self, target: u32, format: u32, type_: u32, rowBufSize: i32, row: *mut c_void, columnBufSize: i32, column: *mut c_void, span: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetnHistogram( &self, target: u32, reset: u8, format: u32, type_: u32, bufSize: i32, values: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glGetnMinmax( &self, target: u32, reset: u8, format: u32, type_: u32, bufSize: i32, values: *mut c_void, ) -> Result<(), GLCoreError>

Source§

fn glTextureBarrier(&self) -> Result<(), GLCoreError>

Source§

impl GL_4_6_g for GLCore

Source§

impl Hash for GLCore

Source§

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

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 GLCore

Source§

fn eq(&self, other: &GLCore) -> 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 GLCore

Source§

impl ES_GL_2_0_g for GLCore

Source§

impl ES_GL_3_0_g for GLCore

Source§

impl ES_GL_3_1_g for GLCore

Source§

impl Eq for GLCore

Source§

impl StructuralPartialEq for GLCore

Auto Trait Implementations§

§

impl Freeze for GLCore

§

impl RefUnwindSafe for GLCore

§

impl Send for GLCore

§

impl Sync for GLCore

§

impl Unpin for GLCore

§

impl UnwindSafe for GLCore

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> Conv for T

Source§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
Source§

impl<T> FmtForward for T

Source§

fn fmt_binary(self) -> FmtBinary<Self>
where Self: Binary,

Causes self to use its Binary implementation when Debug-formatted.
Source§

fn fmt_display(self) -> FmtDisplay<Self>
where Self: Display,

Causes self to use its Display implementation when Debug-formatted.
Source§

fn fmt_lower_exp(self) -> FmtLowerExp<Self>
where Self: LowerExp,

Causes self to use its LowerExp implementation when Debug-formatted.
Source§

fn fmt_lower_hex(self) -> FmtLowerHex<Self>
where Self: LowerHex,

Causes self to use its LowerHex implementation when Debug-formatted.
Source§

fn fmt_octal(self) -> FmtOctal<Self>
where Self: Octal,

Causes self to use its Octal implementation when Debug-formatted.
Source§

fn fmt_pointer(self) -> FmtPointer<Self>
where Self: Pointer,

Causes self to use its Pointer implementation when Debug-formatted.
Source§

fn fmt_upper_exp(self) -> FmtUpperExp<Self>
where Self: UpperExp,

Causes self to use its UpperExp implementation when Debug-formatted.
Source§

fn fmt_upper_hex(self) -> FmtUpperHex<Self>
where Self: UpperHex,

Causes self to use its UpperHex implementation when Debug-formatted.
Source§

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. 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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

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

Source§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where Self: Sized,

Pipes by value. This is generally the method you want to use. Read more
Source§

fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> R
where R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R
where R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
Source§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
Source§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

Borrows self, then passes self.as_ref() into the pipe function.
Source§

fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.as_mut() into the pipe function.
Source§

fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
Source§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R, ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<R, P> ReadPrimitive<R> for P
where R: Read + ReadEndian<P>, P: Default,

Source§

fn read_from_little_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
Source§

fn read_from_big_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
Source§

fn read_from_native_endian(read: &mut R) -> Result<Self, Error>

Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

fn is_in_subset(&self) -> bool

Checks if self is actually part of its subset T (and can be converted to it).
Source§

fn to_subset_unchecked(&self) -> SS

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
Source§

impl<T> Tap for T

Source§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
Source§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
Source§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
Source§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
Source§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
Source§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
Source§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
Source§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
Source§

fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self

Calls .tap() only in debug builds, and is erased in release builds.
Source§

fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self

Calls .tap_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Calls .tap_borrow() only in debug builds, and is erased in release builds.
Source§

fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Calls .tap_borrow_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Calls .tap_ref() only in debug builds, and is erased in release builds.
Source§

fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Calls .tap_ref_mut() only in debug builds, and is erased in release builds.
Source§

fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
Source§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
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> TryConv for T

Source§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. 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.
Source§

impl<T> BufferVecItem for T
where T: Copy + Default + Debug,

Source§

impl<T> PixelType for T
where T: BufferVecItem,

Source§

impl<T> Scalar for T
where T: 'static + Clone + PartialEq + Debug,