Trait windows::Win32::Graphics::Direct3D12::ID3D12Device10_Impl

pub trait ID3D12Device10_Impl: Sized + ID3D12Device9_Impl {
    // Required methods
    fn CreateCommittedResource3(
        &self,
        pheapproperties: *const D3D12_HEAP_PROPERTIES,
        heapflags: D3D12_HEAP_FLAGS,
        pdesc: *const D3D12_RESOURCE_DESC1,
        initiallayout: D3D12_BARRIER_LAYOUT,
        poptimizedclearvalue: *const D3D12_CLEAR_VALUE,
        pprotectedsession: Option<&ID3D12ProtectedResourceSession>,
        numcastableformats: u32,
        pcastableformats: *const DXGI_FORMAT,
        riidresource: *const GUID,
        ppvresource: *mut *mut c_void,
    ) -> Result<()>;
    fn CreatePlacedResource2(
        &self,
        pheap: Option<&ID3D12Heap>,
        heapoffset: u64,
        pdesc: *const D3D12_RESOURCE_DESC1,
        initiallayout: D3D12_BARRIER_LAYOUT,
        poptimizedclearvalue: *const D3D12_CLEAR_VALUE,
        numcastableformats: u32,
        pcastableformats: *const DXGI_FORMAT,
        riid: *const GUID,
        ppvresource: *mut *mut c_void,
    ) -> Result<()>;
    fn CreateReservedResource2(
        &self,
        pdesc: *const D3D12_RESOURCE_DESC,
        initiallayout: D3D12_BARRIER_LAYOUT,
        poptimizedclearvalue: *const D3D12_CLEAR_VALUE,
        pprotectedsession: Option<&ID3D12ProtectedResourceSession>,
        numcastableformats: u32,
        pcastableformats: *const DXGI_FORMAT,
        riid: *const GUID,
        ppvresource: *mut *mut c_void,
    ) -> Result<()>;
}

Required Methods§

fn CreateCommittedResource3( &self, pheapproperties: *const D3D12_HEAP_PROPERTIES, heapflags: D3D12_HEAP_FLAGS, pdesc: *const D3D12_RESOURCE_DESC1, initiallayout: D3D12_BARRIER_LAYOUT, poptimizedclearvalue: *const D3D12_CLEAR_VALUE, pprotectedsession: Option<&ID3D12ProtectedResourceSession>, numcastableformats: u32, pcastableformats: *const DXGI_FORMAT, riidresource: *const GUID, ppvresource: *mut *mut c_void, ) -> Result<()>

fn CreatePlacedResource2( &self, pheap: Option<&ID3D12Heap>, heapoffset: u64, pdesc: *const D3D12_RESOURCE_DESC1, initiallayout: D3D12_BARRIER_LAYOUT, poptimizedclearvalue: *const D3D12_CLEAR_VALUE, numcastableformats: u32, pcastableformats: *const DXGI_FORMAT, riid: *const GUID, ppvresource: *mut *mut c_void, ) -> Result<()>

fn CreateReservedResource2( &self, pdesc: *const D3D12_RESOURCE_DESC, initiallayout: D3D12_BARRIER_LAYOUT, poptimizedclearvalue: *const D3D12_CLEAR_VALUE, pprotectedsession: Option<&ID3D12ProtectedResourceSession>, numcastableformats: u32, pcastableformats: *const DXGI_FORMAT, riid: *const GUID, ppvresource: *mut *mut c_void, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§