pub struct TextureSettings {
pub anisoLevel: i32,
pub compressionQuality: i32,
pub crunchedCompression: bool,
pub filterMode: i32,
pub generateMipMaps: bool,
pub maxTextureSize: i32,
pub readable: bool,
pub sRGB: bool,
pub textureCompression: i32,
}Expand description
TextureSettings is a sub class of the Unity engine since version 2020.1.0b1.
Fields§
§anisoLevel: i32§compressionQuality: i32§crunchedCompression: bool§filterMode: i32§generateMipMaps: bool§maxTextureSize: i32§readable: bool§sRGB: bool§textureCompression: i32Trait Implementations§
Source§impl Debug for TextureSettings
impl Debug for TextureSettings
Source§impl<'de> Deserialize<'de> for TextureSettings
impl<'de> Deserialize<'de> for TextureSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TextureSettings
impl RefUnwindSafe for TextureSettings
impl Send for TextureSettings
impl Sync for TextureSettings
impl Unpin for TextureSettings
impl UnwindSafe for TextureSettings
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