pub struct SerializedPass {Show 21 fields
pub m_HasInstancingVariant: bool,
pub m_Name: String,
pub m_NameIndices: Vec<(String, i32)>,
pub m_ProgramMask: u32,
pub m_State: SerializedShaderState,
pub m_Tags: SerializedTagMap,
pub m_TextureName: String,
pub m_Type: i32,
pub m_UseName: String,
pub progDomain: SerializedProgram,
pub progFragment: SerializedProgram,
pub progGeometry: SerializedProgram,
pub progHull: SerializedProgram,
pub progVertex: SerializedProgram,
pub m_EditorDataHash: Option<Vec<Hash128>>,
pub m_GlobalKeywordMask: Option<Vec<u16>>,
pub m_HasProceduralInstancingVariant: Option<bool>,
pub m_LocalKeywordMask: Option<Vec<u16>>,
pub m_Platforms: Option<Vec<u8>>,
pub m_SerializedKeywordStateMask: Option<Vec<u16>>,
pub progRayTracing: Option<SerializedProgram>,
}
Expand description
SerializedPass is a sub class of the Unity engine since version 5.5.0f3.
Fields§
§m_HasInstancingVariant: bool
§m_Name: String
§m_NameIndices: Vec<(String, i32)>
§m_ProgramMask: u32
§m_State: SerializedShaderState
§m_Tags: SerializedTagMap
§m_TextureName: String
§m_Type: i32
§m_UseName: String
§progDomain: SerializedProgram
§progFragment: SerializedProgram
§progGeometry: SerializedProgram
§progHull: SerializedProgram
§progVertex: SerializedProgram
§m_EditorDataHash: Option<Vec<Hash128>>
Vec
m_GlobalKeywordMask: Option<Vec<u16>>
Vec
m_HasProceduralInstancingVariant: Option<bool>
bool: (2018.1.0b2 - 2022.3.2f1)
m_LocalKeywordMask: Option<Vec<u16>>
Vec
m_Platforms: Option<Vec<u8>>
Vec
m_SerializedKeywordStateMask: Option<Vec<u16>>
Vec
progRayTracing: Option<SerializedProgram>
SerializedProgram: (2019.3.0b1 - 2022.3.2f1)
Trait Implementations§
Source§impl Debug for SerializedPass
impl Debug for SerializedPass
Source§impl<'de> Deserialize<'de> for SerializedPass
impl<'de> Deserialize<'de> for SerializedPass
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 SerializedPass
impl RefUnwindSafe for SerializedPass
impl Send for SerializedPass
impl Sync for SerializedPass
impl Unpin for SerializedPass
impl UnwindSafe for SerializedPass
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