Enum basis_universal::transcoding::BasisTextureType [−][src]
The type of data stored
Variants
An arbitrary array of 2D RGB or RGBA images with optional mipmaps, array size = # images, each image may have a different resolution and # of mipmap levels
An array of 2D RGB or RGBA images with optional mipmaps, array size = # images, each image has the same resolution and mipmap levels
an array of cubemap levels, total # of images must be divisable by 6, in X+, X-, Y+, Y-, Z+, Z- order, with optional mipmaps
An array of 2D video frames, with optional mipmaps, # frames = # images, each image has the same resolution and # of mipmap levels
A 3D texture with optional mipmaps, Z dimension = # images, each image has the same resolution and # of mipmap levels
Implementations
impl BasisTextureType
[src]
pub fn texture_type_name(self) -> &'static str
[src]
Returns the texture type's name in ASCII.
Trait Implementations
impl Clone for BasisTextureType
[src]
fn clone(&self) -> BasisTextureType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for BasisTextureType
[src]
impl Debug for BasisTextureType
[src]
impl From<u32> for BasisTextureType
[src]
fn from(value: basist_basis_texture_type) -> Self
[src]
impl Into<u32> for BasisTextureType
[src]
fn into(self) -> basist_basis_texture_type
[src]
impl PartialEq<BasisTextureType> for BasisTextureType
[src]
fn eq(&self, other: &BasisTextureType) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for BasisTextureType
[src]
Auto Trait Implementations
impl RefUnwindSafe for BasisTextureType
[src]
impl Send for BasisTextureType
[src]
impl Sync for BasisTextureType
[src]
impl Unpin for BasisTextureType
[src]
impl UnwindSafe for BasisTextureType
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,