pub struct MeshFacts {
pub topology: MeshTopology,
pub max_vertices: u32,
pub max_primitives: u32,
}Expand description
What a mesh program states: what its primitives are and the most vertices and primitives it writes. Its thread group size is the entry point’s, as a compute program’s is.
Fields§
§topology: MeshTopologyWhat the primitives are.
max_vertices: u32The most vertices the program writes (Interface::verify accepts 1 to 256).
max_primitives: u32The most primitives the program writes (Interface::verify accepts 1 to 256).
Trait Implementations§
impl Copy for MeshFacts
impl Eq for MeshFacts
impl StructuralPartialEq for MeshFacts
Auto Trait Implementations§
impl Freeze for MeshFacts
impl RefUnwindSafe for MeshFacts
impl Send for MeshFacts
impl Sync for MeshFacts
impl Unpin for MeshFacts
impl UnsafeUnpin for MeshFacts
impl UnwindSafe for MeshFacts
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