Trait windows::Win32::Graphics::Direct2D::ID2D1DrawInfo_Impl

pub trait ID2D1DrawInfo_Impl: Sized + ID2D1RenderInfo_Impl {
    // Required methods
    fn SetPixelShaderConstantBuffer(
        &self,
        buffer: *const u8,
        buffercount: u32,
    ) -> Result<()>;
    fn SetResourceTexture(
        &self,
        textureindex: u32,
        resourcetexture: Option<&ID2D1ResourceTexture>,
    ) -> Result<()>;
    fn SetVertexShaderConstantBuffer(
        &self,
        buffer: *const u8,
        buffercount: u32,
    ) -> Result<()>;
    fn SetPixelShader(
        &self,
        shaderid: *const GUID,
        pixeloptions: D2D1_PIXEL_OPTIONS,
    ) -> Result<()>;
    fn SetVertexProcessing(
        &self,
        vertexbuffer: Option<&ID2D1VertexBuffer>,
        vertexoptions: D2D1_VERTEX_OPTIONS,
        blenddescription: *const D2D1_BLEND_DESCRIPTION,
        vertexrange: *const D2D1_VERTEX_RANGE,
        vertexshader: *const GUID,
    ) -> Result<()>;
}

Required Methods§

fn SetPixelShaderConstantBuffer( &self, buffer: *const u8, buffercount: u32, ) -> Result<()>

fn SetResourceTexture( &self, textureindex: u32, resourcetexture: Option<&ID2D1ResourceTexture>, ) -> Result<()>

fn SetVertexShaderConstantBuffer( &self, buffer: *const u8, buffercount: u32, ) -> Result<()>

fn SetPixelShader( &self, shaderid: *const GUID, pixeloptions: D2D1_PIXEL_OPTIONS, ) -> Result<()>

fn SetVertexProcessing( &self, vertexbuffer: Option<&ID2D1VertexBuffer>, vertexoptions: D2D1_VERTEX_OPTIONS, blenddescription: *const D2D1_BLEND_DESCRIPTION, vertexrange: *const D2D1_VERTEX_RANGE, vertexshader: *const GUID, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§