Struct uni_gl::common::WebGLTexture
source · [−]pub struct WebGLTexture(pub u32);
Expand description
an OpenGL program created with GLContext::create_program
.
It is built with a vertex shader and a fragment shader.
Tuple Fields
0: u32
Methods from Deref<Target = u32>
Trait Implementations
sourceimpl Debug for WebGLTexture
impl Debug for WebGLTexture
sourceimpl Deref for WebGLTexture
impl Deref for WebGLTexture
sourceimpl PartialEq<WebGLTexture> for WebGLTexture
impl PartialEq<WebGLTexture> for WebGLTexture
sourcefn eq(&self, other: &WebGLTexture) -> bool
fn eq(&self, other: &WebGLTexture) -> bool
impl StructuralPartialEq for WebGLTexture
Auto Trait Implementations
impl RefUnwindSafe for WebGLTexture
impl Send for WebGLTexture
impl Sync for WebGLTexture
impl Unpin for WebGLTexture
impl UnwindSafe for WebGLTexture
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