Struct mltg_bindings::Windows::Win32::Graphics::Direct2D::ID2D1DrawInfo [−][src]
#[repr(transparent)]pub struct ID2D1DrawInfo(_);
Implementations
pub unsafe fn SetInputDescription<'a, Param1: IntoParam<'a, D2D1_INPUT_DESCRIPTION>>(
&self,
inputindex: u32,
inputdescription: Param1
) -> Result<()>
pub unsafe fn SetOutputBuffer(
&self,
bufferprecision: D2D1_BUFFER_PRECISION,
channeldepth: D2D1_CHANNEL_DEPTH
) -> Result<()>
pub unsafe fn SetPixelShaderConstantBuffer(
&self,
buffer: *const u8,
buffercount: u32
) -> Result<()>
pub unsafe fn SetResourceTexture<'a, Param1: IntoParam<'a, ID2D1ResourceTexture>>(
&self,
textureindex: u32,
resourcetexture: Param1
) -> Result<()>
pub unsafe fn SetVertexShaderConstantBuffer(
&self,
buffer: *const u8,
buffercount: u32
) -> Result<()>
pub unsafe fn SetPixelShader(
&self,
shaderid: *const Guid,
pixeloptions: D2D1_PIXEL_OPTIONS
) -> Result<()>
pub unsafe fn SetVertexProcessing<'a, Param0: IntoParam<'a, ID2D1VertexBuffer>>(
&self,
vertexbuffer: Param0,
vertexoptions: D2D1_VERTEX_OPTIONS,
blenddescription: *const D2D1_BLEND_DESCRIPTION,
vertexrange: *const D2D1_VERTEX_RANGE,
vertexshader: *const Guid
) -> 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 ID2D1DrawInfo
impl !Send for ID2D1DrawInfo
impl !Sync for ID2D1DrawInfo
impl Unpin for ID2D1DrawInfo
impl UnwindSafe for ID2D1DrawInfo
Blanket Implementations
Mutably borrows from an owned value. Read more