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>
) -> 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>(
&self,
textureindex: u32,
resourcetexture: impl IntoParam<'a, ID2D1ResourceTexture>
) -> 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>(
&self,
vertexbuffer: impl IntoParam<'a, ID2D1VertexBuffer>,
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
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