Struct windows::Win32::Graphics::Direct2D::ID2D1DrawInfo
#[repr(transparent)]pub struct ID2D1DrawInfo(_);
Expand description
Required features: "Win32_Graphics_Direct2D"
Implementations§
§impl ID2D1DrawInfo
impl ID2D1DrawInfo
pub unsafe fn SetInputDescription(
&self,
inputindex: u32,
inputdescription: D2D1_INPUT_DESCRIPTION
) -> Result<()>
pub unsafe fn SetOutputBuffer(
&self,
bufferprecision: D2D1_BUFFER_PRECISION,
channeldepth: D2D1_CHANNEL_DEPTH
) -> Result<()>
pub unsafe fn SetCached<'a, P0>(&self, iscached: P0)where
P0: Into<BOOL>,
pub unsafe fn SetCached<'a, P0>(&self, iscached: P0)where
P0: Into<BOOL>,
Required features: "Win32_Foundation"
pub unsafe fn SetInstructionCountHint(&self, instructioncount: u32)
pub unsafe fn SetPixelShaderConstantBuffer(&self, buffer: &[u8]) -> Result<()>
pub unsafe fn SetResourceTexture<'a, P0>(
&self,
textureindex: u32,
resourcetexture: P0
) -> Result<()>where
P0: Into<InParam<'a, ID2D1ResourceTexture>>,
pub unsafe fn SetVertexShaderConstantBuffer(&self, buffer: &[u8]) -> Result<()>
pub unsafe fn SetPixelShader(
&self,
shaderid: *const GUID,
pixeloptions: D2D1_PIXEL_OPTIONS
) -> Result<()>
pub unsafe fn SetVertexProcessing<'a, P0>(
&self,
vertexbuffer: P0,
vertexoptions: D2D1_VERTEX_OPTIONS,
blenddescription: Option<*const D2D1_BLEND_DESCRIPTION>,
vertexrange: Option<*const D2D1_VERTEX_RANGE>,
vertexshader: Option<*const GUID>
) -> Result<()>where
P0: Into<InParam<'a, ID2D1VertexBuffer>>,
Trait Implementations§
§impl Clone for ID2D1DrawInfo
impl Clone for ID2D1DrawInfo
§impl Debug for ID2D1DrawInfo
impl Debug for ID2D1DrawInfo
§impl<'a> From<&'a ID2D1DrawInfo> for &'a ID2D1RenderInfo
impl<'a> From<&'a ID2D1DrawInfo> for &'a ID2D1RenderInfo
§fn from(value: &'a ID2D1DrawInfo) -> Self
fn from(value: &'a ID2D1DrawInfo) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1DrawInfo> for &'a IUnknown
impl<'a> From<&'a ID2D1DrawInfo> for &'a IUnknown
§fn from(value: &'a ID2D1DrawInfo) -> Self
fn from(value: &'a ID2D1DrawInfo) -> Self
Converts to this type from the input type.
§impl From<&ID2D1DrawInfo> for ID2D1RenderInfo
impl From<&ID2D1DrawInfo> for ID2D1RenderInfo
§fn from(value: &ID2D1DrawInfo) -> Self
fn from(value: &ID2D1DrawInfo) -> Self
Converts to this type from the input type.
§impl From<&ID2D1DrawInfo> for IUnknown
impl From<&ID2D1DrawInfo> for IUnknown
§fn from(value: &ID2D1DrawInfo) -> Self
fn from(value: &ID2D1DrawInfo) -> Self
Converts to this type from the input type.
§impl From<ID2D1DrawInfo> for ID2D1RenderInfo
impl From<ID2D1DrawInfo> for ID2D1RenderInfo
§fn from(value: ID2D1DrawInfo) -> Self
fn from(value: ID2D1DrawInfo) -> Self
Converts to this type from the input type.
§impl From<ID2D1DrawInfo> for IUnknown
impl From<ID2D1DrawInfo> for IUnknown
§fn from(value: ID2D1DrawInfo) -> Self
fn from(value: ID2D1DrawInfo) -> Self
Converts to this type from the input type.
§impl Interface for ID2D1DrawInfo
impl Interface for ID2D1DrawInfo
§impl PartialEq<ID2D1DrawInfo> for ID2D1DrawInfo
impl PartialEq<ID2D1DrawInfo> for ID2D1DrawInfo
§impl Vtable for ID2D1DrawInfo
impl Vtable for ID2D1DrawInfo
type Vtable = ID2D1DrawInfo_Vtbl
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.