pub trait ID3D12DeviceFactory_Impl: Sized {
    // Required methods
    fn InitializeFromGlobalState(&self) -> Result<()>;
    fn ApplyToGlobalState(&self) -> Result<()>;
    fn SetFlags(&self, flags: D3D12_DEVICE_FACTORY_FLAGS) -> Result<()>;
    fn GetFlags(&self) -> D3D12_DEVICE_FACTORY_FLAGS;
    fn GetConfigurationInterface(
        &self,
        clsid: *const GUID,
        iid: *const GUID,
        ppv: *mut *mut c_void,
    ) -> Result<()>;
    fn EnableExperimentalFeatures(
        &self,
        numfeatures: u32,
        piids: *const GUID,
        pconfigurationstructs: *const c_void,
        pconfigurationstructsizes: *const u32,
    ) -> Result<()>;
    fn CreateDevice(
        &self,
        adapter: Option<&IUnknown>,
        featurelevel: D3D_FEATURE_LEVEL,
        riid: *const GUID,
        ppvdevice: *mut *mut c_void,
    ) -> Result<()>;
}

Required Methods§

fn InitializeFromGlobalState(&self) -> Result<()>

fn ApplyToGlobalState(&self) -> Result<()>

fn SetFlags(&self, flags: D3D12_DEVICE_FACTORY_FLAGS) -> Result<()>

fn GetFlags(&self) -> D3D12_DEVICE_FACTORY_FLAGS

fn GetConfigurationInterface( &self, clsid: *const GUID, iid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>

fn EnableExperimentalFeatures( &self, numfeatures: u32, piids: *const GUID, pconfigurationstructs: *const c_void, pconfigurationstructsizes: *const u32, ) -> Result<()>

fn CreateDevice( &self, adapter: Option<&IUnknown>, featurelevel: D3D_FEATURE_LEVEL, riid: *const GUID, ppvdevice: *mut *mut c_void, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§