pub struct SignatureElement {
pub name: String,
pub index: u32,
pub system_value: u32,
pub component_type: u32,
pub register: u32,
pub mask: u8,
pub read_write_mask: u8,
pub at: usize,
}Expand description
One element of a signature as stored.
Fields§
§name: StringThe semantic name (POSITION, TEXCOORD, …).
index: u32The semantic index (the 1 of TEXCOORD1).
system_value: u32D3D_NAME.
component_type: u32D3D_REGISTER_COMPONENT_TYPE.
register: u32The register the element is packed into.
mask: u8The components the element occupies, one bit each (x is bit 0).
read_write_mask: u8The components a program reads (inputs) or never writes (outputs), as stored.
at: usizeWhere the record starts, in words of the chunk.
Trait Implementations§
Source§impl Clone for SignatureElement
impl Clone for SignatureElement
Source§impl Debug for SignatureElement
impl Debug for SignatureElement
impl Eq for SignatureElement
Source§impl PartialEq for SignatureElement
impl PartialEq for SignatureElement
impl StructuralPartialEq for SignatureElement
Auto Trait Implementations§
impl Freeze for SignatureElement
impl RefUnwindSafe for SignatureElement
impl Send for SignatureElement
impl Sync for SignatureElement
impl Unpin for SignatureElement
impl UnsafeUnpin for SignatureElement
impl UnwindSafe for SignatureElement
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