Struct mltg_bindings::Windows::Win32::Graphics::Direct2D::ID2D1SpriteBatch [−][src]
#[repr(transparent)]pub struct ID2D1SpriteBatch(_);
Implementations
pub unsafe fn AddSprites(
&self,
spritecount: u32,
destinationrectangles: *const D2D_RECT_F,
sourcerectangles: *const D2D_RECT_U,
colors: *const D2D1_COLOR_F,
transforms: *const Matrix3x2,
destinationrectanglesstride: u32,
sourcerectanglesstride: u32,
colorsstride: u32,
transformsstride: u32
) -> Result<()>
pub unsafe fn SetSprites(
&self,
startindex: u32,
spritecount: u32,
destinationrectangles: *const D2D_RECT_F,
sourcerectangles: *const D2D_RECT_U,
colors: *const D2D1_COLOR_F,
transforms: *const Matrix3x2,
destinationrectanglesstride: u32,
sourcerectanglesstride: u32,
colorsstride: u32,
transformsstride: u32
) -> Result<()>
pub unsafe fn GetSprites(
&self,
startindex: u32,
spritecount: u32,
destinationrectangles: *mut D2D_RECT_F,
sourcerectangles: *mut D2D_RECT_U,
colors: *mut D2D1_COLOR_F,
transforms: *mut Matrix3x2
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ID2D1SpriteBatch
impl !Send for ID2D1SpriteBatch
impl !Sync for ID2D1SpriteBatch
impl Unpin for ID2D1SpriteBatch
impl UnwindSafe for ID2D1SpriteBatch
Blanket Implementations
Mutably borrows from an owned value. Read more