pub struct Texture<'a> { /* private fields */ }
Expand description
A texture and its sampler.
Implementations§
source§impl<'a> Texture<'a>
impl<'a> Texture<'a>
sourcepub fn extensions(&self) -> Option<&Map<String, Value>>
Available on crate feature extensions
only.
pub fn extensions(&self) -> Option<&Map<String, Value>>
extensions
only.Returns extension data unknown to this crate version.
sourcepub fn extension_value(&self, ext_name: &str) -> Option<&Value>
Available on crate feature extensions
only.
pub fn extension_value(&self, ext_name: &str) -> Option<&Value>
extensions
only.Queries extension data unknown to this crate version.
Trait Implementations§
source§impl<'a> AsRef<Texture<'a>> for NormalTexture<'a>
impl<'a> AsRef<Texture<'a>> for NormalTexture<'a>
source§impl<'a> AsRef<Texture<'a>> for OcclusionTexture<'a>
impl<'a> AsRef<Texture<'a>> for OcclusionTexture<'a>
Auto Trait Implementations§
impl<'a> Freeze for Texture<'a>
impl<'a> RefUnwindSafe for Texture<'a>
impl<'a> Send for Texture<'a>
impl<'a> Sync for Texture<'a>
impl<'a> Unpin for Texture<'a>
impl<'a> UnwindSafe for Texture<'a>
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