pub struct TextureObj<T> { /* private fields */ }
Implementations
sourceimpl<'a, T> TextureObj<T>
impl<'a, T> TextureObj<T>
pub fn builder(gl: &GlowGL) -> OglIncomplete<TextureBuilder<'a, T>>
Trait Implementations
sourceimpl<T> Drop for TextureObj<T>
impl<T> Drop for TextureObj<T>
sourceimpl<T> From<TextureObj<T>> for OglTexturewhere
T: Copy + Default + 'static,
impl<T> From<TextureObj<T>> for OglTexturewhere
T: Copy + Default + 'static,
sourcefn from(tex_obj: TextureObj<T>) -> Self
fn from(tex_obj: TextureObj<T>) -> Self
Converts to this type from the input type.
sourceimpl<T> HasTextureObj for TextureObj<T>where
T: Copy + Sized + Default,
impl<T> HasTextureObj for TextureObj<T>where
T: Copy + Sized + Default,
fn bind(&self, texture_unit: u32, location: Option<&UniformLocation>)
fn unbind(&self)
fn set_param_i32(&self, param: u32, val: i32)
fn copy_image(&self, width: u32, height: u32, src_data: &[u8])
fn get_info(&self) -> &TextureInfo
fn get_info_mut(&mut self) -> &mut TextureInfo
Auto Trait Implementations
impl<T> RefUnwindSafe for TextureObj<T>where
T: RefUnwindSafe,
impl<T> Send for TextureObj<T>where
T: Send,
impl<T> Sync for TextureObj<T>where
T: Sync,
impl<T> Unpin for TextureObj<T>where
T: Unpin,
impl<T> UnwindSafe for TextureObj<T>where
T: UnwindSafe,
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