pub trait ID3D11DeviceContext2_Impl: Sized + ID3D11DeviceContext1_Impl {
    // Required methods
    fn UpdateTileMappings(
        &self,
        ptiledresource: Option<&ID3D11Resource>,
        numtiledresourceregions: u32,
        ptiledresourceregionstartcoordinates: *const D3D11_TILED_RESOURCE_COORDINATE,
        ptiledresourceregionsizes: *const D3D11_TILE_REGION_SIZE,
        ptilepool: Option<&ID3D11Buffer>,
        numranges: u32,
        prangeflags: *const u32,
        ptilepoolstartoffsets: *const u32,
        prangetilecounts: *const u32,
        flags: u32,
    ) -> Result<()>;
    fn CopyTileMappings(
        &self,
        pdesttiledresource: Option<&ID3D11Resource>,
        pdestregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE,
        psourcetiledresource: Option<&ID3D11Resource>,
        psourceregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE,
        ptileregionsize: *const D3D11_TILE_REGION_SIZE,
        flags: u32,
    ) -> Result<()>;
    fn CopyTiles(
        &self,
        ptiledresource: Option<&ID3D11Resource>,
        ptileregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE,
        ptileregionsize: *const D3D11_TILE_REGION_SIZE,
        pbuffer: Option<&ID3D11Buffer>,
        bufferstartoffsetinbytes: u64,
        flags: u32,
    );
    fn UpdateTiles(
        &self,
        pdesttiledresource: Option<&ID3D11Resource>,
        pdesttileregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE,
        pdesttileregionsize: *const D3D11_TILE_REGION_SIZE,
        psourcetiledata: *const c_void,
        flags: u32,
    );
    fn ResizeTilePool(
        &self,
        ptilepool: Option<&ID3D11Buffer>,
        newsizeinbytes: u64,
    ) -> Result<()>;
    fn TiledResourceBarrier(
        &self,
        ptiledresourceorviewaccessbeforebarrier: Option<&ID3D11DeviceChild>,
        ptiledresourceorviewaccessafterbarrier: Option<&ID3D11DeviceChild>,
    );
    fn IsAnnotationEnabled(&self) -> BOOL;
    fn SetMarkerInt(&self, plabel: &PCWSTR, data: i32);
    fn BeginEventInt(&self, plabel: &PCWSTR, data: i32);
    fn EndEvent(&self);
}

Required Methods§

fn UpdateTileMappings( &self, ptiledresource: Option<&ID3D11Resource>, numtiledresourceregions: u32, ptiledresourceregionstartcoordinates: *const D3D11_TILED_RESOURCE_COORDINATE, ptiledresourceregionsizes: *const D3D11_TILE_REGION_SIZE, ptilepool: Option<&ID3D11Buffer>, numranges: u32, prangeflags: *const u32, ptilepoolstartoffsets: *const u32, prangetilecounts: *const u32, flags: u32, ) -> Result<()>

fn CopyTileMappings( &self, pdesttiledresource: Option<&ID3D11Resource>, pdestregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, psourcetiledresource: Option<&ID3D11Resource>, psourceregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, ptileregionsize: *const D3D11_TILE_REGION_SIZE, flags: u32, ) -> Result<()>

fn CopyTiles( &self, ptiledresource: Option<&ID3D11Resource>, ptileregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, ptileregionsize: *const D3D11_TILE_REGION_SIZE, pbuffer: Option<&ID3D11Buffer>, bufferstartoffsetinbytes: u64, flags: u32, )

fn UpdateTiles( &self, pdesttiledresource: Option<&ID3D11Resource>, pdesttileregionstartcoordinate: *const D3D11_TILED_RESOURCE_COORDINATE, pdesttileregionsize: *const D3D11_TILE_REGION_SIZE, psourcetiledata: *const c_void, flags: u32, )

fn ResizeTilePool( &self, ptilepool: Option<&ID3D11Buffer>, newsizeinbytes: u64, ) -> Result<()>

fn TiledResourceBarrier( &self, ptiledresourceorviewaccessbeforebarrier: Option<&ID3D11DeviceChild>, ptiledresourceorviewaccessafterbarrier: Option<&ID3D11DeviceChild>, )

fn IsAnnotationEnabled(&self) -> BOOL

fn SetMarkerInt(&self, plabel: &PCWSTR, data: i32)

fn BeginEventInt(&self, plabel: &PCWSTR, data: i32)

fn EndEvent(&self)

Object Safety§

This trait is not object safe.

Implementors§