Enum basis_universal::transcoding::BasisTextureFormat [−][src]
The compression mode/format to use
Variants
A lower quality mode which is based off a subset of ETC1 called “ETC1S”. Includes built-in data compression
Enable UASTC compression mode instead of the default ETC1S mode. Significantly higher texture quality, but larger files. UASTC supports an optional Rate Distortion Optimization (RDO) post-process stage that conditions the encoded UASTC texture data in the .basis file so it can be more effectively LZ compressed by the end user.
Implementations
impl BasisTextureFormat[src]
pub fn can_transcode_to_format(
self,
transcoder_texture_format: TranscoderTextureFormat
) -> bool[src]
self,
transcoder_texture_format: TranscoderTextureFormat
) -> bool
Returns true if the specified format was enabled at compile time.
Trait Implementations
impl Clone for BasisTextureFormat[src]
fn clone(&self) -> BasisTextureFormat[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for BasisTextureFormat[src]
impl Debug for BasisTextureFormat[src]
impl From<i32> for BasisTextureFormat[src]
fn from(value: basist_basis_tex_format) -> Self[src]
impl Into<i32> for BasisTextureFormat[src]
fn into(self) -> basist_basis_tex_format[src]
impl PartialEq<BasisTextureFormat> for BasisTextureFormat[src]
fn eq(&self, other: &BasisTextureFormat) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralPartialEq for BasisTextureFormat[src]
Auto Trait Implementations
impl RefUnwindSafe for BasisTextureFormat
impl Send for BasisTextureFormat
impl Sync for BasisTextureFormat
impl Unpin for BasisTextureFormat
impl UnwindSafe for BasisTextureFormat
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>,