#[repr(C)]pub struct ID2D1DrawInfo {
pub lpVtbl: *const ID2D1DrawInfoVtbl,
}
Fields§
§lpVtbl: *const ID2D1DrawInfoVtbl
Implementations§
Source§impl ID2D1DrawInfo
impl ID2D1DrawInfo
pub unsafe fn SetPixelShaderConstantBuffer( &self, buffer: *const BYTE, bufferCount: UINT32, ) -> HRESULT
pub unsafe fn SetResourceTexture( &self, textureIndex: UINT32, resourceTexture: *mut ID2D1ResourceTexture, ) -> HRESULT
pub unsafe fn SetVertexShaderConstantBuffer( &self, buffer: *const BYTE, bufferCount: UINT32, ) -> HRESULT
pub unsafe fn SetPixelShader( &self, shaderId: REFGUID, pixelOptions: D2D1_PIXEL_OPTIONS, ) -> HRESULT
pub unsafe fn SetVertexProcessing( &self, vertexBuffer: *mut ID2D1VertexBuffer, vertexOptions: D2D1_VERTEX_OPTIONS, blendDescription: *const D2D1_BLEND_DESCRIPTION, vertexRange: *const D2D1_VERTEX_RANGE, vertexShader: *const GUID, ) -> HRESULT
Methods from Deref<Target = ID2D1RenderInfo>§
pub unsafe fn SetInputDescription( &self, inputIndex: UINT32, inputDescription: D2D1_INPUT_DESCRIPTION, ) -> HRESULT
pub unsafe fn SetOutputBuffer( &self, bufferPrecision: D2D1_BUFFER_PRECISION, channelDepth: D2D1_CHANNEL_DEPTH, ) -> HRESULT
pub unsafe fn SetCached(&self, isCached: BOOL)
pub unsafe fn SetInstructionCountHint(&self, instructionCount: UINT32)
Trait Implementations§
Source§impl Deref for ID2D1DrawInfo
impl Deref for ID2D1DrawInfo
Source§type Target = ID2D1RenderInfo
type Target = ID2D1RenderInfo
The resulting type after dereferencing.
Source§fn deref(&self) -> &ID2D1RenderInfo
fn deref(&self) -> &ID2D1RenderInfo
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ID2D1DrawInfo
impl RefUnwindSafe for ID2D1DrawInfo
impl !Send for ID2D1DrawInfo
impl !Sync for ID2D1DrawInfo
impl Unpin for ID2D1DrawInfo
impl UnwindSafe for ID2D1DrawInfo
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