pub trait ID3D12PipelineLibrary_Impl: Sized + ID3D12DeviceChild_Impl {
    // Required methods
    fn StorePipeline(
        &self,
        pname: &PCWSTR,
        ppipeline: Option<&ID3D12PipelineState>,
    ) -> Result<()>;
    fn LoadGraphicsPipeline(
        &self,
        pname: &PCWSTR,
        pdesc: *const D3D12_GRAPHICS_PIPELINE_STATE_DESC,
        riid: *const GUID,
        pppipelinestate: *mut *mut c_void,
    ) -> Result<()>;
    fn LoadComputePipeline(
        &self,
        pname: &PCWSTR,
        pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC,
        riid: *const GUID,
        pppipelinestate: *mut *mut c_void,
    ) -> Result<()>;
    fn GetSerializedSize(&self) -> usize;
    fn Serialize(
        &self,
        pdata: *mut c_void,
        datasizeinbytes: usize,
    ) -> Result<()>;
}

Required Methods§

fn StorePipeline( &self, pname: &PCWSTR, ppipeline: Option<&ID3D12PipelineState>, ) -> Result<()>

fn LoadGraphicsPipeline( &self, pname: &PCWSTR, pdesc: *const D3D12_GRAPHICS_PIPELINE_STATE_DESC, riid: *const GUID, pppipelinestate: *mut *mut c_void, ) -> Result<()>

fn LoadComputePipeline( &self, pname: &PCWSTR, pdesc: *const D3D12_COMPUTE_PIPELINE_STATE_DESC, riid: *const GUID, pppipelinestate: *mut *mut c_void, ) -> Result<()>

fn GetSerializedSize(&self) -> usize

fn Serialize(&self, pdata: *mut c_void, datasizeinbytes: usize) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§