Struct uni_gl::common::WebGLProgram
source · [−]pub struct WebGLProgram(pub u32);
Expand description
an OpenGL shader created with GLContext::create_shader
.
There are two kinds of shaders ([ShaderKind
]) : vertex and fragment
Tuple Fields
0: u32
Methods from Deref<Target = u32>
Trait Implementations
sourceimpl Debug for WebGLProgram
impl Debug for WebGLProgram
sourceimpl Deref for WebGLProgram
impl Deref for WebGLProgram
sourceimpl PartialEq<WebGLProgram> for WebGLProgram
impl PartialEq<WebGLProgram> for WebGLProgram
sourcefn eq(&self, other: &WebGLProgram) -> bool
fn eq(&self, other: &WebGLProgram) -> bool
impl StructuralPartialEq for WebGLProgram
Auto Trait Implementations
impl RefUnwindSafe for WebGLProgram
impl Send for WebGLProgram
impl Sync for WebGLProgram
impl Unpin for WebGLProgram
impl UnwindSafe for WebGLProgram
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more