pub struct HullState {
pub patch_constant: ValueId,
pub input_control_points: u32,
pub output_control_points: u32,
pub domain: u32,
pub partitioning: u32,
pub output_primitive: u32,
pub max_tess_factor: f32,
}Expand description
What a hull program’s entry point states about its patch (the properties’ tag 3): the patch-constant function, the control-point counts, the tessellator’s domain, partitioning and output primitive and the largest factor.
Fields§
§patch_constant: ValueIdThe patch-constant function.
input_control_points: u32The number of input control points.
output_control_points: u32The number of output control points.
domain: u32The tessellator domain (D3D11_TESSELLATOR_DOMAIN).
partitioning: u32The partitioning (D3D11_TESSELLATOR_PARTITIONING).
output_primitive: u32The output primitive (D3D11_TESSELLATOR_OUTPUT_PRIMITIVE).
max_tess_factor: f32The largest tessellation factor.
Trait Implementations§
impl StructuralPartialEq for HullState
Auto Trait Implementations§
impl Forget for HullState
impl Freeze for HullState
impl RefUnwindSafe for HullState
impl Send for HullState
impl Sync for HullState
impl Unpin for HullState
impl UnsafeUnpin for HullState
impl UnwindSafe for HullState
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