Struct LibGl

Source
pub struct LibGl {
Show 74 fields pub glGenVertexArrays: TglGenVertexArrays, pub glBindVertexArray: TglBindVertexArray, pub glBindBuffer: TglBindBuffer, pub glVertexAttribPointer: TglVertexAttribPointer, pub glEnableVertexAttribArray: TglEnableVertexAttribArray, pub glVertexAttribDivisor: TglVertexAttribDivisor, pub glUseProgram: TglUseProgram, pub glActiveTexture: TglActiveTexture, pub glBindTexture: TglBindTexture, pub glDrawElementsInstanced: TglDrawElementsInstanced, pub glEnable: TglEnable, pub glDepthFunc: TglDepthFunc, pub glBlendEquationSeparate: TglBlendEquationSeparate, pub glBlendFuncSeparate: TglBlendFuncSeparate, pub glViewport: TglViewport, pub glBindFramebuffer: TglBindFramebuffer, pub glClearDepthf: TglClearDepthf, pub glClearColor: TglClearColor, pub glClear: TglClear, pub glGenFramebuffers: TglGenFramebuffers, pub glGenRenderbuffers: TglGenRenderbuffers, pub glBindRenderbuffer: TglBindRenderbuffer, pub glRenderbufferStorage: TglRenderbufferStorage, pub glDisable: TglDisable, pub glFramebufferRenderbuffer: TglFramebufferRenderbuffer, pub glFramebufferTexture2D: TglFramebufferTexture2D, pub glGetShaderiv: TglGetShaderiv, pub glGetProgramiv: TglGetProgramiv, pub glGetShaderInfoLog: TglGetShaderInfoLog, pub glGetProgramInfoLog: TglGetProgramInfoLog, pub glGetAttribLocation: TglGetAttribLocation, pub glGetUniformLocation: TglGetUniformLocation, pub glCreateShader: TglCreateShader, pub glShaderSource: TglShaderSource, pub glCompileShader: TglCompileShader, pub glCreateProgram: TglCreateProgram, pub glAttachShader: TglAttachShader, pub glLinkProgram: TglLinkProgram, pub glDeleteShader: TglDeleteShader, pub glUniform1fv: TglUniform1fv, pub glGenTextures: TglGenTextures, pub glTexParameteri: TglTexParameteri, pub glTexParameterfv: TglTexParameterfv, pub glTexImage2D: TglTexImage2D, pub glTexSubImage2D: TglTexSubImage2D, pub glGetTexLevelParameteriv: TglGetTexLevelParameteriv, pub glGenBuffers: TglGenBuffers, pub glBufferData: TglBufferData, pub glUniform1i: TglUniform1i, pub glGetError: TglGetError, pub glFinish: TglFinish, pub glGetProgramBinary: TglGetProgramBinary, pub glProgramBinary: TglProgramBinary, pub glDeleteTextures: TglDeleteTextures, pub glDeleteRenderbuffers: TglDeleteRenderbuffers, pub glDeleteBuffers: TglDeleteBuffers, pub glDeleteFramebuffers: TglDeleteFramebuffers, pub glDeleteVertexArrays: TglDeleteVertexArrays, pub glGenerateMipmap: TglGenerateMipmap, pub glPixelStorei: TglPixelStorei, pub glGetString: TglGetString, pub glTexStorage3D: TglTexStorage3D, pub glColorMask: TglColorMask, pub glDepthMask: TglDepthMask, pub glScissor: TglScissor, pub glInvalidateFramebuffer: TglInvalidateFramebuffer, pub glDebugMessageCallback: TglDebugMessageCallback, pub glGetDebugMessageLog: TglGetDebugMessageLog, pub glDebugMessageControl: TglDebugMessageControl, pub glGetUniformBlockIndex: TglGetUniformBlockIndex, pub glUniformBlockBinding: TglUniformBlockBinding, pub glBindBufferBase: TglBindBufferBase, pub glFramebufferTextureMultiviewOVR: Option<TglFramebufferTextureMultiviewOVR>, pub glFramebufferTextureMultisampleMultiviewOVR: Option<TglFramebufferTextureMultisampleMultiviewOVR>,
}

Fields§

§glGenVertexArrays: TglGenVertexArrays§glBindVertexArray: TglBindVertexArray§glBindBuffer: TglBindBuffer§glVertexAttribPointer: TglVertexAttribPointer§glEnableVertexAttribArray: TglEnableVertexAttribArray§glVertexAttribDivisor: TglVertexAttribDivisor§glUseProgram: TglUseProgram§glActiveTexture: TglActiveTexture§glBindTexture: TglBindTexture§glDrawElementsInstanced: TglDrawElementsInstanced§glEnable: TglEnable§glDepthFunc: TglDepthFunc§glBlendEquationSeparate: TglBlendEquationSeparate§glBlendFuncSeparate: TglBlendFuncSeparate§glViewport: TglViewport§glBindFramebuffer: TglBindFramebuffer§glClearDepthf: TglClearDepthf§glClearColor: TglClearColor§glClear: TglClear§glGenFramebuffers: TglGenFramebuffers§glGenRenderbuffers: TglGenRenderbuffers§glBindRenderbuffer: TglBindRenderbuffer§glRenderbufferStorage: TglRenderbufferStorage§glDisable: TglDisable§glFramebufferRenderbuffer: TglFramebufferRenderbuffer§glFramebufferTexture2D: TglFramebufferTexture2D§glGetShaderiv: TglGetShaderiv§glGetProgramiv: TglGetProgramiv§glGetShaderInfoLog: TglGetShaderInfoLog§glGetProgramInfoLog: TglGetProgramInfoLog§glGetAttribLocation: TglGetAttribLocation§glGetUniformLocation: TglGetUniformLocation§glCreateShader: TglCreateShader§glShaderSource: TglShaderSource§glCompileShader: TglCompileShader§glCreateProgram: TglCreateProgram§glAttachShader: TglAttachShader§glLinkProgram: TglLinkProgram§glDeleteShader: TglDeleteShader§glUniform1fv: TglUniform1fv§glGenTextures: TglGenTextures§glTexParameteri: TglTexParameteri§glTexParameterfv: TglTexParameterfv§glTexImage2D: TglTexImage2D§glTexSubImage2D: TglTexSubImage2D§glGetTexLevelParameteriv: TglGetTexLevelParameteriv§glGenBuffers: TglGenBuffers§glBufferData: TglBufferData§glUniform1i: TglUniform1i§glGetError: TglGetError§glFinish: TglFinish§glGetProgramBinary: TglGetProgramBinary§glProgramBinary: TglProgramBinary§glDeleteTextures: TglDeleteTextures§glDeleteRenderbuffers: TglDeleteRenderbuffers§glDeleteBuffers: TglDeleteBuffers§glDeleteFramebuffers: TglDeleteFramebuffers§glDeleteVertexArrays: TglDeleteVertexArrays§glGenerateMipmap: TglGenerateMipmap§glPixelStorei: TglPixelStorei§glGetString: TglGetString§glTexStorage3D: TglTexStorage3D§glColorMask: TglColorMask§glDepthMask: TglDepthMask§glScissor: TglScissor§glInvalidateFramebuffer: TglInvalidateFramebuffer§glDebugMessageCallback: TglDebugMessageCallback§glGetDebugMessageLog: TglGetDebugMessageLog§glDebugMessageControl: TglDebugMessageControl§glGetUniformBlockIndex: TglGetUniformBlockIndex§glUniformBlockBinding: TglUniformBlockBinding§glBindBufferBase: TglBindBufferBase§glFramebufferTextureMultiviewOVR: Option<TglFramebufferTextureMultiviewOVR>§glFramebufferTextureMultisampleMultiviewOVR: Option<TglFramebufferTextureMultisampleMultiviewOVR>

Implementations§

Source§

impl LibGl

Source

pub fn enable_debugging(&self)

Source

pub fn try_load<F>(loadfn: F) -> Result<LibGl, String>
where F: FnMut(&[&'static str]) -> *const c_void,

Auto Trait Implementations§

§

impl Freeze for LibGl

§

impl RefUnwindSafe for LibGl

§

impl Send for LibGl

§

impl Sync for LibGl

§

impl Unpin for LibGl

§

impl UnwindSafe for LibGl

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> 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, 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.