#[repr(u32)]pub enum InstanceKind {
Show 13 variants
Disc = 0,
Glow = 1,
Sprite = 2,
Segment = 3,
SpriteSheet = 4,
TaperedSegment = 5,
Polygon = 6,
Ring = 7,
Capsule = 8,
Soft = 9,
Quad = 10,
Bokeh = 11,
Ribbon = 12,
}Expand description
Coverage and compositing of one evaluated primitive.
Variants§
Disc = 0
Antialiased filled circle using SourceOver.
Glow = 1
Gaussian circle using linear additive compositing.
Sprite = 2
Rotated square sampling the batch’s shared RGBA image.
Segment = 3
Antialiased segment from start to position using SourceOver.
SpriteSheet = 4
Sprite with a normalized UV rectangle in the extension words.
TaperedSegment = 5
Segment with endpoint colors and radii.
Polygon = 6
Regular polygon; extension contains side count and aspect.
Ring = 7
Annular disc; extension contains relative thickness.
Capsule = 8
Velocity-oriented capsule.
Soft = 9
Disc with adjustable edge hardness.
Quad = 10
Rotated rectangular particle.
Bokeh = 11
Energy-compensated aperture with an optional bright rim.
Ribbon = 12
Flat-ended tapered strip between two historical positions.
Trait Implementations§
Source§impl Clone for InstanceKind
impl Clone for InstanceKind
impl Copy for InstanceKind
Source§impl Debug for InstanceKind
impl Debug for InstanceKind
impl Eq for InstanceKind
Source§impl PartialEq for InstanceKind
impl PartialEq for InstanceKind
impl StructuralPartialEq for InstanceKind
Auto Trait Implementations§
impl Forget for InstanceKind
impl Freeze for InstanceKind
impl Move for InstanceKind
impl RefUnwindSafe for InstanceKind
impl Send for InstanceKind
impl Sync for InstanceKind
impl Unpin for InstanceKind
impl UnsafeUnpin for InstanceKind
impl UnwindSafe for InstanceKind
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