Struct mltg_bindings::Windows::Win32::Graphics::Direct2D::ID2D1DrawInfo [−][src]
#[repr(transparent)]pub struct ID2D1DrawInfo(_);
Implementations
pub unsafe fn SetInputDescription<'a>(
&self,
inputindex: u32,
inputdescription: impl IntoParam<'a, D2D1_INPUT_DESCRIPTION>
) -> HRESULT
[src]pub unsafe fn SetOutputBuffer(
&self,
bufferprecision: D2D1_BUFFER_PRECISION,
channeldepth: D2D1_CHANNEL_DEPTH
) -> HRESULT
[src]pub unsafe fn SetPixelShaderConstantBuffer(
&self,
buffer: *const u8,
buffercount: u32
) -> HRESULT
[src]pub unsafe fn SetResourceTexture<'a>(
&self,
textureindex: u32,
resourcetexture: impl IntoParam<'a, ID2D1ResourceTexture>
) -> HRESULT
[src]pub unsafe fn SetVertexShaderConstantBuffer(
&self,
buffer: *const u8,
buffercount: u32
) -> HRESULT
[src]pub unsafe fn SetPixelShader(
&self,
shaderid: *const Guid,
pixeloptions: D2D1_PIXEL_OPTIONS
) -> HRESULT
[src]pub unsafe fn SetVertexProcessing<'a>(
&self,
vertexbuffer: impl IntoParam<'a, ID2D1VertexBuffer>,
vertexoptions: D2D1_VERTEX_OPTIONS,
blenddescription: *const D2D1_BLEND_DESCRIPTION,
vertexrange: *const D2D1_VERTEX_RANGE,
vertexshader: *const Guid
) -> HRESULT
[src]Trait Implementations
Performs the conversion.
Performs the conversion.
type Vtable = ID2D1DrawInfo_abi
Returns the vtable for an assumed interface. The name comes from Box
’s assume_init
method as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
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 ID2D1DrawInfo
impl !Send for ID2D1DrawInfo
impl !Sync for ID2D1DrawInfo
impl Unpin for ID2D1DrawInfo
impl UnwindSafe for ID2D1DrawInfo
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more