#[repr(C)]pub struct ID2D1SpriteBatch {
pub lpVtbl: *const ID2D1SpriteBatchVtbl,
}
Fields§
§lpVtbl: *const ID2D1SpriteBatchVtbl
Implementations§
Source§impl ID2D1SpriteBatch
impl ID2D1SpriteBatch
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
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
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
pub unsafe fn GetSpriteCount(&self) -> UINT32
pub unsafe fn Clear(&self)
Methods from Deref<Target = ID2D1Resource>§
pub unsafe fn GetFactory(&self, factory: *mut *mut ID2D1Factory)
Trait Implementations§
Source§impl Deref for ID2D1SpriteBatch
impl Deref for ID2D1SpriteBatch
Source§type Target = ID2D1Resource
type Target = ID2D1Resource
The resulting type after dereferencing.
Source§fn deref(&self) -> &ID2D1Resource
fn deref(&self) -> &ID2D1Resource
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ID2D1SpriteBatch
impl RefUnwindSafe for ID2D1SpriteBatch
impl !Send for ID2D1SpriteBatch
impl !Sync for ID2D1SpriteBatch
impl Unpin for ID2D1SpriteBatch
impl UnwindSafe for ID2D1SpriteBatch
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