pub struct TextureUniform {
pub texture: WebGLTexture,
}
Fields
texture: WebGLTexture
Implementations
sourceimpl TextureUniform
impl TextureUniform
pub fn new(texture: WebGLTexture) -> Self
Auto Trait Implementations
impl RefUnwindSafe for TextureUniform
impl Send for TextureUniform
impl Sync for TextureUniform
impl Unpin for TextureUniform
impl UnwindSafe for TextureUniform
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
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.