pub struct ComputeShaderKernelParent {
pub name: String,
pub dynamicKeywords: Option<Vec<String>>,
pub globalKeywords: Option<Vec<String>>,
pub localKeywords: Option<Vec<String>>,
pub uniqueVariants: Option<Vec<ComputeShaderKernel>>,
pub validKeywords: Option<Vec<String>>,
pub variantIndices: Option<Vec<(String, u32)>>,
pub variantMap: Option<Vec<(String, ComputeShaderKernel)>>,
}Expand description
ComputeShaderKernelParent is a sub class of the Unity engine since version 2020.1.0b1.
Fields§
§name: String§dynamicKeywords: Option<Vec<String>>Vec
globalKeywords: Option<Vec<String>>Vec
localKeywords: Option<Vec<String>>Vec
uniqueVariants: Option<Vec<ComputeShaderKernel>>Vec
validKeywords: Option<Vec<String>>Vec
variantIndices: Option<Vec<(String, u32)>>Vec<(String, u32)>: (2022.1.0b1 - 2022.3.2f1)
variantMap: Option<Vec<(String, ComputeShaderKernel)>>Vec<(String, ComputeShaderKernel)>: (2020.1.0b1 - 2022.1.0a13)
Trait Implementations§
Source§impl Debug for ComputeShaderKernelParent
impl Debug for ComputeShaderKernelParent
Source§impl<'de> Deserialize<'de> for ComputeShaderKernelParent
impl<'de> Deserialize<'de> for ComputeShaderKernelParent
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 ComputeShaderKernelParent
impl RefUnwindSafe for ComputeShaderKernelParent
impl Send for ComputeShaderKernelParent
impl Sync for ComputeShaderKernelParent
impl Unpin for ComputeShaderKernelParent
impl UnwindSafe for ComputeShaderKernelParent
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