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: u32Trait Implementations§
Source§impl Debug for WebGLTexture
impl Debug for WebGLTexture
Source§impl Deref for WebGLTexture
impl Deref for WebGLTexture
Source§impl PartialEq for WebGLTexture
impl PartialEq for WebGLTexture
impl StructuralPartialEq for WebGLTexture
Auto Trait Implementations§
impl Freeze for WebGLTexture
impl RefUnwindSafe for WebGLTexture
impl Send for WebGLTexture
impl Sync for WebGLTexture
impl Unpin for WebGLTexture
impl UnwindSafe for WebGLTexture
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more