pub struct SerializedSubProgram {Show 17 fields
pub m_BlobIndex: u32,
pub m_Channels: ParserBindChannels,
pub m_GpuProgramType: i8,
pub m_ShaderHardwareTier: i8,
pub m_BufferParams: Option<Vec<BufferBinding>>,
pub m_ConstantBufferBindings: Option<Vec<BufferBinding>>,
pub m_ConstantBuffers: Option<Vec<ConstantBuffer>>,
pub m_GlobalKeywordIndices: Option<Vec<u16>>,
pub m_KeywordIndices: Option<Vec<u16>>,
pub m_LocalKeywordIndices: Option<Vec<u16>>,
pub m_MatrixParams: Option<Vec<MatrixParameter>>,
pub m_Parameters: Option<SerializedProgramParameters>,
pub m_Samplers: Option<Vec<SamplerParameter>>,
pub m_ShaderRequirements: Option<i64>,
pub m_TextureParams: Option<Vec<TextureParameter>>,
pub m_UAVParams: Option<Vec<UAVParameter>>,
pub m_VectorParams: Option<Vec<VectorParameter>>,
}Expand description
SerializedSubProgram is a sub class of the Unity engine since version 5.5.0f3.
Fields§
§m_BlobIndex: u32§m_Channels: ParserBindChannels§m_GpuProgramType: i8§m_ShaderHardwareTier: i8§m_BufferParams: Option<Vec<BufferBinding>>Vec
m_ConstantBufferBindings: Option<Vec<BufferBinding>>Vec
m_ConstantBuffers: Option<Vec<ConstantBuffer>>Vec
m_GlobalKeywordIndices: Option<Vec<u16>>Vec
m_KeywordIndices: Option<Vec<u16>>Vec
m_LocalKeywordIndices: Option<Vec<u16>>Vec
m_MatrixParams: Option<Vec<MatrixParameter>>Vec
m_Parameters: Option<SerializedProgramParameters>SerializedProgramParameters: (2020.3.2f1 - 2022.3.2f1)
m_Samplers: Option<Vec<SamplerParameter>>Vec
m_ShaderRequirements: Option<i64>i32: (2017.2.0b2 - 2020.3.48f1); i64: (2021.1.0b1 - 2022.3.2f1)
m_TextureParams: Option<Vec<TextureParameter>>Vec
m_UAVParams: Option<Vec<UAVParameter>>Vec
m_VectorParams: Option<Vec<VectorParameter>>Vec
Trait Implementations§
Source§impl Debug for SerializedSubProgram
impl Debug for SerializedSubProgram
Source§impl<'de> Deserialize<'de> for SerializedSubProgram
impl<'de> Deserialize<'de> for SerializedSubProgram
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 SerializedSubProgram
impl RefUnwindSafe for SerializedSubProgram
impl Send for SerializedSubProgram
impl Sync for SerializedSubProgram
impl Unpin for SerializedSubProgram
impl UnwindSafe for SerializedSubProgram
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