Struct basis_universal::encoding::CompressorParams[][src]

pub struct CompressorParams(pub *mut CompressorParams);

Implementations

impl CompressorParams[src]

pub fn new() -> Self[src]

pub fn clear(&mut self)[src]

pub fn source_image_mut(&mut self, image_index: u32) -> CompressorImageRef[src]

pub fn resize_source_image_list(&mut self, size: u32)[src]

pub fn clear_source_image_list(&mut self)[src]

pub fn set_print_status_to_stdout(&mut self, print_status_to_stdout: bool)[src]

pub fn set_quality_level(&mut self, quality_level: Option<u32>)[src]

pub fn set_use_global_codebook(&mut self, use_global_codebook: bool)[src]

pub fn set_auto_use_global_codebook(&mut self, auto_use_global_codebook: bool)[src]

pub fn set_uastc(&mut self, is_uastc: bool)[src]

pub fn set_generate_mipmaps(&mut self, generate_mipmaps: bool)[src]

pub fn set_userdata(&mut self, userdata: UserData)[src]

Trait Implementations

impl Drop for CompressorParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.