[][src]Struct pathfinder_renderer::paint::PaintColorTextureMetadata

pub struct PaintColorTextureMetadata {
    pub location: TextureLocation,
    pub transform: Transform2F,
    pub sampling_flags: TextureSamplingFlags,
    pub filter: PaintFilter,
    pub composite_op: PaintCompositeOp,
}

Fields

location: TextureLocation

The location of the paint.

transform: Transform2F

The transform to apply to screen coordinates to translate them into UVs.

sampling_flags: TextureSamplingFlags

The sampling mode for the texture.

filter: PaintFilter

The filter to be applied to this paint.

composite_op: PaintCompositeOp

How the color texture is to be composited over the base color.

Trait Implementations

impl Debug for PaintColorTextureMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.