pub struct Factors {
pub edges: [f32; 4],
pub inside: [f32; 2],
}Expand description
The tessellation factors of a patch: the edges’ (a triangle uses 3, a quad 4, an isoline the line density then the line detail) and the inside ones (a triangle 1, a quad 2: the factor along u, then along v).
Fields§
§edges: [f32; 4]The edge factors.
inside: [f32; 2]The inside factors.
Trait Implementations§
impl Copy for Factors
impl StructuralPartialEq for Factors
Auto Trait Implementations§
impl Forget for Factors
impl Freeze for Factors
impl RefUnwindSafe for Factors
impl Send for Factors
impl Sync for Factors
impl Unpin for Factors
impl UnsafeUnpin for Factors
impl UnwindSafe for Factors
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