pub struct SourceTextureInformation {
pub doesTextureContainAlpha: bool,
pub height: i32,
pub width: i32,
pub doesTextureContainColor: Option<bool>,
pub sourceWasHDR: Option<bool>,
}Expand description
SourceTextureInformation is a sub class of the Unity engine since version 3.4.0. Exert from Unity’s scripting documentation: Original texture data information.
Fields§
§doesTextureContainAlpha: bool§height: i32Height of the image data.
width: i32Width of the image data.
doesTextureContainColor: Option<bool>bool: (3.5.0 - 4.7.2)
sourceWasHDR: Option<bool>bool: (5.0.0f4 - 2022.3.2f1)
Trait Implementations§
Source§impl Debug for SourceTextureInformation
impl Debug for SourceTextureInformation
Source§impl<'de> Deserialize<'de> for SourceTextureInformation
impl<'de> Deserialize<'de> for SourceTextureInformation
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 SourceTextureInformation
impl RefUnwindSafe for SourceTextureInformation
impl Send for SourceTextureInformation
impl Sync for SourceTextureInformation
impl Unpin for SourceTextureInformation
impl UnwindSafe for SourceTextureInformation
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