pub struct ComputeShaderResource {
pub bindPoint: i32,
pub name: Enum_FastPropertyName__String,
pub counter: Option<ComputeBufferCounter>,
pub generatedName: Option<Enum_FastPropertyName__String>,
pub samplerBindPoint: Option<i32>,
pub secondaryBindPoint: Option<i32>,
pub texDimension: Option<i32>,
}Expand description
ComputeShaderResource is a sub class of the Unity engine since version 4.0.0.
Fields§
§bindPoint: i32§name: Enum_FastPropertyName__String§counter: Option<ComputeBufferCounter>ComputeBufferCounter: (5.2.3f1 - 2017.4.40f1)
generatedName: Option<Enum_FastPropertyName__String>FastPropertyName: (5.1.0f1 - 5.5.6f1); String: (5.6.0b1 - 2022.3.2f1)
samplerBindPoint: Option<i32>i32: (2018.2.0b1 - 2022.3.2f1)
secondaryBindPoint: Option<i32>i32: (5.1.0f1 - 5.2.2f1)
texDimension: Option<i32>i32: (2018.2.0f2 - 2022.3.2f1)
Trait Implementations§
Source§impl Debug for ComputeShaderResource
impl Debug for ComputeShaderResource
Source§impl<'de> Deserialize<'de> for ComputeShaderResource
impl<'de> Deserialize<'de> for ComputeShaderResource
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 ComputeShaderResource
impl RefUnwindSafe for ComputeShaderResource
impl Send for ComputeShaderResource
impl Sync for ComputeShaderResource
impl Unpin for ComputeShaderResource
impl UnwindSafe for ComputeShaderResource
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