Struct keeshond::renderer::DrawSpriteRawInfo[][src]

pub struct DrawSpriteRawInfo {
    pub sheet_id: DataId,
    pub shader_id: DataId,
    pub transform: DrawTransform,
    pub transform_offset_x: f32,
    pub transform_offset_y: f32,
    pub texture_x: f32,
    pub texture_y: f32,
    pub texture_w: f32,
    pub texture_h: f32,
    pub r: f32,
    pub g: f32,
    pub b: f32,
    pub alpha: f32,
}

Information on how to draw a sprite (raw form with just transform and texture coordinates)

Fields

sheet_id: DataIdshader_id: DataIdtransform: DrawTransformtransform_offset_x: f32transform_offset_y: f32texture_x: f32texture_y: f32texture_w: f32texture_h: f32r: f32g: f32b: f32alpha: f32

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> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> Erased for T

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

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

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

type Output = T

Should always be Self

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.