pub struct ComputeShaderVariant {
pub constantBuffers: Vec<ComputeShaderCB>,
pub kernels: Vec<ComputeShaderKernel>,
pub targetLevel: i32,
pub targetRenderer: i32,
pub resourcesResolved: Option<bool>,
}Expand description
ComputeShaderVariant is a sub class of the Unity engine since version 5.0.0f4.
Fields§
§constantBuffers: Vec<ComputeShaderCB>§kernels: Vec<ComputeShaderKernel>§targetLevel: i32§targetRenderer: i32§resourcesResolved: Option<bool>bool: (5.1.0f1 - 2020.1.0a8)
Trait Implementations§
Source§impl Debug for ComputeShaderVariant
impl Debug for ComputeShaderVariant
Source§impl<'de> Deserialize<'de> for ComputeShaderVariant
impl<'de> Deserialize<'de> for ComputeShaderVariant
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 ComputeShaderVariant
impl RefUnwindSafe for ComputeShaderVariant
impl Send for ComputeShaderVariant
impl Sync for ComputeShaderVariant
impl Unpin for ComputeShaderVariant
impl UnwindSafe for ComputeShaderVariant
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