pub struct MeshState {
pub max_vertices: u32,
pub max_primitives: u32,
pub topology: u32,
pub payload: u32,
}Expand description
What a mesh program’s entry point states (the properties’ tag 9) after its thread group, as stored: the most vertices and primitives it writes, the topology of its primitives (1 line, 2 triangle) and the size in bytes of the payload it reads from a task program. A null field is zero.
Fields§
§max_vertices: u32The most vertices it writes.
max_primitives: u32The most primitives it writes.
topology: u32The topology of its primitives (1 line, 2 triangle).
payload: u32The size in bytes of the payload it reads from a task program.
Trait Implementations§
impl Copy for MeshState
impl Eq for MeshState
impl StructuralPartialEq for MeshState
Auto Trait Implementations§
impl Forget for MeshState
impl Freeze for MeshState
impl RefUnwindSafe for MeshState
impl Send for MeshState
impl Sync for MeshState
impl Unpin for MeshState
impl UnsafeUnpin for MeshState
impl UnwindSafe for MeshState
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