Trait windows::Win32::Graphics::Direct3D11::ID3D11Device2_Impl

pub trait ID3D11Device2_Impl: Sized + ID3D11Device1_Impl {
    // Required methods
    fn GetImmediateContext2(
        &self,
        ppimmediatecontext: *mut Option<ID3D11DeviceContext2>,
    );
    fn CreateDeferredContext2(
        &self,
        contextflags: u32,
        ppdeferredcontext: *mut Option<ID3D11DeviceContext2>,
    ) -> Result<()>;
    fn GetResourceTiling(
        &self,
        ptiledresource: Option<&ID3D11Resource>,
        pnumtilesforentireresource: *mut u32,
        ppackedmipdesc: *mut D3D11_PACKED_MIP_DESC,
        pstandardtileshapefornonpackedmips: *mut D3D11_TILE_SHAPE,
        pnumsubresourcetilings: *mut u32,
        firstsubresourcetilingtoget: u32,
        psubresourcetilingsfornonpackedmips: *mut D3D11_SUBRESOURCE_TILING,
    );
    fn CheckMultisampleQualityLevels1(
        &self,
        format: DXGI_FORMAT,
        samplecount: u32,
        flags: u32,
    ) -> Result<u32>;
}

Required Methods§

fn GetImmediateContext2( &self, ppimmediatecontext: *mut Option<ID3D11DeviceContext2>, )

fn CreateDeferredContext2( &self, contextflags: u32, ppdeferredcontext: *mut Option<ID3D11DeviceContext2>, ) -> Result<()>

fn GetResourceTiling( &self, ptiledresource: Option<&ID3D11Resource>, pnumtilesforentireresource: *mut u32, ppackedmipdesc: *mut D3D11_PACKED_MIP_DESC, pstandardtileshapefornonpackedmips: *mut D3D11_TILE_SHAPE, pnumsubresourcetilings: *mut u32, firstsubresourcetilingtoget: u32, psubresourcetilingsfornonpackedmips: *mut D3D11_SUBRESOURCE_TILING, )

fn CheckMultisampleQualityLevels1( &self, format: DXGI_FORMAT, samplecount: u32, flags: u32, ) -> Result<u32>

Object Safety§

This trait is not object safe.

Implementors§