pub struct ConstantBuffer {
pub m_MatrixParams: Vec<MatrixParameter>,
pub m_NameIndex: i32,
pub m_Size: i32,
pub m_VectorParams: Vec<VectorParameter>,
pub m_IsPartialCB: Option<bool>,
pub m_StructParams: Option<Vec<StructParameter>>,
}Expand description
ConstantBuffer is a sub class of the Unity engine since version 5.5.0f3.
Fields§
§m_MatrixParams: Vec<MatrixParameter>§m_NameIndex: i32§m_Size: i32§m_VectorParams: Vec<VectorParameter>§m_IsPartialCB: Option<bool>bool: (2020.3.2f1 - 2022.3.2f1)
m_StructParams: Option<Vec<StructParameter>>Vec
Trait Implementations§
Source§impl Debug for ConstantBuffer
impl Debug for ConstantBuffer
Source§impl<'de> Deserialize<'de> for ConstantBuffer
impl<'de> Deserialize<'de> for ConstantBuffer
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 ConstantBuffer
impl RefUnwindSafe for ConstantBuffer
impl Send for ConstantBuffer
impl Sync for ConstantBuffer
impl Unpin for ConstantBuffer
impl UnwindSafe for ConstantBuffer
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