Struct windows::Win32::Graphics::Direct2D::ID2D1ComputeInfo
#[repr(transparent)]pub struct ID2D1ComputeInfo(_);
Expand description
Required features: "Win32_Graphics_Direct2D"
Implementations§
§impl ID2D1ComputeInfo
impl ID2D1ComputeInfo
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 SetComputeShaderConstantBuffer(&self, buffer: &[u8]) -> Result<()>
pub unsafe fn SetComputeShader(&self, shaderid: *const GUID) -> Result<()>
pub unsafe fn SetResourceTexture<'a, P0>(
&self,
textureindex: u32,
resourcetexture: P0
) -> Result<()>where
P0: Into<InParam<'a, ID2D1ResourceTexture>>,
Trait Implementations§
§impl Clone for ID2D1ComputeInfo
impl Clone for ID2D1ComputeInfo
§impl Debug for ID2D1ComputeInfo
impl Debug for ID2D1ComputeInfo
§impl<'a> From<&'a ID2D1ComputeInfo> for &'a ID2D1RenderInfo
impl<'a> From<&'a ID2D1ComputeInfo> for &'a ID2D1RenderInfo
§fn from(value: &'a ID2D1ComputeInfo) -> Self
fn from(value: &'a ID2D1ComputeInfo) -> Self
Converts to this type from the input type.
§impl<'a> From<&'a ID2D1ComputeInfo> for &'a IUnknown
impl<'a> From<&'a ID2D1ComputeInfo> for &'a IUnknown
§fn from(value: &'a ID2D1ComputeInfo) -> Self
fn from(value: &'a ID2D1ComputeInfo) -> Self
Converts to this type from the input type.
§impl From<&ID2D1ComputeInfo> for ID2D1RenderInfo
impl From<&ID2D1ComputeInfo> for ID2D1RenderInfo
§fn from(value: &ID2D1ComputeInfo) -> Self
fn from(value: &ID2D1ComputeInfo) -> Self
Converts to this type from the input type.
§impl From<&ID2D1ComputeInfo> for IUnknown
impl From<&ID2D1ComputeInfo> for IUnknown
§fn from(value: &ID2D1ComputeInfo) -> Self
fn from(value: &ID2D1ComputeInfo) -> Self
Converts to this type from the input type.
§impl From<ID2D1ComputeInfo> for ID2D1RenderInfo
impl From<ID2D1ComputeInfo> for ID2D1RenderInfo
§fn from(value: ID2D1ComputeInfo) -> Self
fn from(value: ID2D1ComputeInfo) -> Self
Converts to this type from the input type.
§impl From<ID2D1ComputeInfo> for IUnknown
impl From<ID2D1ComputeInfo> for IUnknown
§fn from(value: ID2D1ComputeInfo) -> Self
fn from(value: ID2D1ComputeInfo) -> Self
Converts to this type from the input type.
§impl Interface for ID2D1ComputeInfo
impl Interface for ID2D1ComputeInfo
§impl PartialEq<ID2D1ComputeInfo> for ID2D1ComputeInfo
impl PartialEq<ID2D1ComputeInfo> for ID2D1ComputeInfo
§impl Vtable for ID2D1ComputeInfo
impl Vtable for ID2D1ComputeInfo
type Vtable = ID2D1ComputeInfo_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.