Struct mltg_bindings::Windows::Win32::Graphics::Direct2D::ID2D1ComputeInfo [−][src]
#[repr(transparent)]pub struct ID2D1ComputeInfo(_);
Implementations
pub unsafe fn SetInputDescription<'a>(
&self,
inputindex: u32,
inputdescription: impl IntoParam<'a, D2D1_INPUT_DESCRIPTION>
) -> Result<()>
pub unsafe fn SetOutputBuffer(
&self,
bufferprecision: D2D1_BUFFER_PRECISION,
channeldepth: D2D1_CHANNEL_DEPTH
) -> Result<()>
pub unsafe fn SetComputeShaderConstantBuffer(
&self,
buffer: *const u8,
buffercount: u32
) -> Result<()>
pub unsafe fn SetResourceTexture<'a>(
&self,
textureindex: u32,
resourcetexture: impl IntoParam<'a, ID2D1ResourceTexture>
) -> 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 ID2D1ComputeInfo
impl !Send for ID2D1ComputeInfo
impl !Sync for ID2D1ComputeInfo
impl Unpin for ID2D1ComputeInfo
impl UnwindSafe for ID2D1ComputeInfo
Blanket Implementations
type DefaultType = Option<T>
Converts from Self::DefaultType
to Result<T>
.
Returns a pointer for setting the object’s value via an ABI call.
Mutably borrows from an owned value. Read more