pub struct ComputeShaderImporter {
pub m_Name: String,
pub m_UserData: String,
pub m_AssetBundleName: Option<String>,
pub m_AssetBundleVariant: Option<String>,
pub m_CurrentAPIMask: Option<u32>,
pub m_CurrentBuildTarget: Option<i32>,
pub m_ExternalObjects: Option<Vec<(SourceAssetIdentifier, PPtr)>>,
pub m_PreprocessorOverride: Option<i32>,
pub m_UsedFileIDs: Option<Vec<i64>>,
}Expand description
ComputeShaderImporter is a class of the Unity engine since version 4.0.0. Exert from Unity’s scripting documentation: Define compute shader import settings in the Unity Editor.
Fields§
§m_Name: StringThe name of the object.
m_UserData: StringGet or set any user data.
m_AssetBundleName: Option<String>Get or set the AssetBundle name. String: (5.0.0f4 - 2022.3.2f1)
m_AssetBundleVariant: Option<String>Get or set the AssetBundle variant. String: (5.0.0f4 - 2022.3.2f1)
m_CurrentAPIMask: Option<u32>u32: (5.3.2f1 - 2020.3.48f1)
m_CurrentBuildTarget: Option<i32>i32: (5.0.0f4 - 5.3.1f1)
m_ExternalObjects: Option<Vec<(SourceAssetIdentifier, PPtr)>>Vec<(SourceAssetIdentifier, PPtr<[Object]>)>: (2017.2.0b2 - 2022.3.2f1)
m_PreprocessorOverride: Option<i32>This property has no effect. i32: (2020.2.0b1 - 2022.1.0a9)
m_UsedFileIDs: Option<Vec<i64>>Vec
Trait Implementations§
Source§impl Debug for ComputeShaderImporter
impl Debug for ComputeShaderImporter
Source§impl<'de> Deserialize<'de> for ComputeShaderImporter
impl<'de> Deserialize<'de> for ComputeShaderImporter
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 ComputeShaderImporter
impl RefUnwindSafe for ComputeShaderImporter
impl Send for ComputeShaderImporter
impl Sync for ComputeShaderImporter
impl Unpin for ComputeShaderImporter
impl UnwindSafe for ComputeShaderImporter
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