pub struct GeometryState {
pub input: u32,
pub max_vertices: u32,
pub streams: u32,
pub topology: u32,
pub instances: u32,
}Expand description
What a geometry program’s entry point states (the properties’ tag 1), as stored: the primitive it reads (input, a
D3D_PRIMITIVE: 1 point, 2 line, 3 triangle, 6 line and 7 triangle with adjacency), how many vertices it emits at
most, the streams it writes (a mask), the topology its stream makes (a D3D_PRIMITIVE_TOPOLOGY: 1 point list, 3
line strip, 5 triangle strip) and how many invocations run for a primitive.
Fields§
§input: u32The input primitive (D3D_PRIMITIVE).
max_vertices: u32The most vertices it emits.
streams: u32The streams it writes, a mask.
topology: u32The topology of its output stream (D3D_PRIMITIVE_TOPOLOGY).
instances: u32How many invocations run for a primitive.
Trait Implementations§
Source§impl Clone for GeometryState
impl Clone for GeometryState
impl Copy for GeometryState
Source§impl Debug for GeometryState
impl Debug for GeometryState
impl Eq for GeometryState
Source§impl PartialEq for GeometryState
impl PartialEq for GeometryState
impl StructuralPartialEq for GeometryState
Auto Trait Implementations§
impl Forget for GeometryState
impl Freeze for GeometryState
impl RefUnwindSafe for GeometryState
impl Send for GeometryState
impl Sync for GeometryState
impl Unpin for GeometryState
impl UnsafeUnpin for GeometryState
impl UnwindSafe for GeometryState
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