[][src]Struct winapi::um::d2d1_3::ID2D1SpriteBatch

#[repr(C)]
pub struct ID2D1SpriteBatch {
    pub lpVtbl: *const ID2D1SpriteBatchVtbl,
}

Fields

lpVtbl: *const ID2D1SpriteBatchVtbl

Methods

impl ID2D1SpriteBatch[src]

pub unsafe fn AddSprites(
    &self,
    spriteCount: UINT32,
    destinationRectangle: *const D2D1_RECT_F,
    sourceRectangles: *const D2D1_RECT_U,
    colors: *const D2D1_COLOR_F,
    transforms: *const D2D1_MATRIX_3X2_F,
    destinationRectanglesStride: UINT32,
    sourceRectanglesStride: UINT32,
    colorsStride: UINT32,
    transformsStride: D2D1_MATRIX_3X2_F
) -> HRESULT
[src]

pub unsafe fn SetSprites(
    &self,
    startIndex: UINT32,
    spriteCount: UINT32,
    destinationRectangle: *const D2D1_RECT_F,
    sourceRectangles: *const D2D1_RECT_U,
    colors: *const D2D1_COLOR_F,
    transforms: *const D2D1_MATRIX_3X2_F,
    destinationRectanglesStride: UINT32,
    sourceRectanglesStride: UINT32,
    colorsStride: UINT32,
    transformsStride: D2D1_MATRIX_3X2_F
) -> HRESULT
[src]

pub unsafe fn GetSprites(
    &self,
    startIndex: UINT32,
    spriteCount: UINT32,
    destinationRectangle: *mut D2D1_RECT_F,
    sourceRectangles: *mut D2D1_RECT_U,
    colors: *mut D2D1_COLOR_F,
    transforms: *mut D2D1_MATRIX_3X2_F
) -> HRESULT
[src]

pub unsafe fn GetSpriteCount(&self) -> UINT32[src]

pub unsafe fn Clear(&self)[src]

Methods from Deref<Target = ID2D1Resource>

pub unsafe fn GetFactory(&self, factory: *mut *mut ID2D1Factory)[src]

Trait Implementations

impl Interface for ID2D1SpriteBatch[src]

impl Deref for ID2D1SpriteBatch[src]

type Target = ID2D1Resource

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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