pub struct Vertex {
pub instruction_count: u32,
pub instruction_slot: u32,
pub register_count: u32,
pub attribute_input_mask: u32,
pub attribute_output_mask: u32,
pub user_clip_mask: u32,
}Expand description
The stage-specific header of a vertex program.
Fields§
§instruction_count: u32The number of 16-byte microcode slots.
instruction_slot: u32The slot the program starts at.
register_count: u32The number of registers it uses.
attribute_input_mask: u32The vertex attributes it reads, a mask.
attribute_output_mask: u32The attributes it writes, a mask.
user_clip_mask: u32The user clip planes it writes, a mask.
Trait Implementations§
impl Eq for Vertex
impl StructuralPartialEq for Vertex
Auto Trait Implementations§
impl Freeze for Vertex
impl RefUnwindSafe for Vertex
impl Send for Vertex
impl Sync for Vertex
impl Unpin for Vertex
impl UnsafeUnpin for Vertex
impl UnwindSafe for Vertex
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