pub struct HullFacts {
pub domain: TessDomain,
pub partitioning: Partitioning,
pub topology: TessTopology,
pub input_control_points: u32,
pub output_control_points: u32,
pub max_tess_factor_bits: u32,
pub patch_constants: Vec<Varying>,
}Expand description
What a hull program states about its patch beyond its varyings. The patch-constant varyings are its outputs per
patch (SV_TessFactor, SV_InsideTessFactor, whatever the domain program reads); outputs of the interface are
its control points’.
Fields§
§domain: TessDomainThe domain the hull program declares.
partitioning: PartitioningHow the tessellator divides the edges.
topology: TessTopologyWhat the tessellator outputs.
input_control_points: u32Control points the program reads per patch (1 to 32).
output_control_points: u32Control points the program writes per patch (1 to 32).
max_tess_factor_bits: u32The largest tessellation factor, as the bits of an f32 (the interface is hashed).
patch_constants: Vec<Varying>The patch-constant outputs, per patch, in the order the signature lists them.
Trait Implementations§
impl Eq for HullFacts
Source§impl Serialize for HullFacts
impl Serialize for HullFacts
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for HullFacts
Auto Trait Implementations§
impl Forget for HullFacts
impl Freeze for HullFacts
impl RefUnwindSafe for HullFacts
impl Send for HullFacts
impl Sync for HullFacts
impl Unpin for HullFacts
impl UnsafeUnpin for HullFacts
impl UnwindSafe for HullFacts
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