Trait windows::Win32::Graphics::Direct3D11::ID3D11Device1_Impl

pub trait ID3D11Device1_Impl: Sized + ID3D11Device_Impl {
    // Required methods
    fn GetImmediateContext1(
        &self,
        ppimmediatecontext: *mut Option<ID3D11DeviceContext1>,
    );
    fn CreateDeferredContext1(
        &self,
        contextflags: u32,
        ppdeferredcontext: *mut Option<ID3D11DeviceContext1>,
    ) -> Result<()>;
    fn CreateBlendState1(
        &self,
        pblendstatedesc: *const D3D11_BLEND_DESC1,
        ppblendstate: *mut Option<ID3D11BlendState1>,
    ) -> Result<()>;
    fn CreateRasterizerState1(
        &self,
        prasterizerdesc: *const D3D11_RASTERIZER_DESC1,
        pprasterizerstate: *mut Option<ID3D11RasterizerState1>,
    ) -> Result<()>;
    fn CreateDeviceContextState(
        &self,
        flags: u32,
        pfeaturelevels: *const D3D_FEATURE_LEVEL,
        featurelevels: u32,
        sdkversion: u32,
        emulatedinterface: *const GUID,
        pchosenfeaturelevel: *mut D3D_FEATURE_LEVEL,
        ppcontextstate: *mut Option<ID3DDeviceContextState>,
    ) -> Result<()>;
    fn OpenSharedResource1(
        &self,
        hresource: HANDLE,
        returnedinterface: *const GUID,
        ppresource: *mut *mut c_void,
    ) -> Result<()>;
    fn OpenSharedResourceByName(
        &self,
        lpname: &PCWSTR,
        dwdesiredaccess: u32,
        returnedinterface: *const GUID,
        ppresource: *mut *mut c_void,
    ) -> Result<()>;
}

Required Methods§

fn GetImmediateContext1( &self, ppimmediatecontext: *mut Option<ID3D11DeviceContext1>, )

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

fn CreateBlendState1( &self, pblendstatedesc: *const D3D11_BLEND_DESC1, ppblendstate: *mut Option<ID3D11BlendState1>, ) -> Result<()>

fn CreateRasterizerState1( &self, prasterizerdesc: *const D3D11_RASTERIZER_DESC1, pprasterizerstate: *mut Option<ID3D11RasterizerState1>, ) -> Result<()>

fn CreateDeviceContextState( &self, flags: u32, pfeaturelevels: *const D3D_FEATURE_LEVEL, featurelevels: u32, sdkversion: u32, emulatedinterface: *const GUID, pchosenfeaturelevel: *mut D3D_FEATURE_LEVEL, ppcontextstate: *mut Option<ID3DDeviceContextState>, ) -> Result<()>

fn OpenSharedResource1( &self, hresource: HANDLE, returnedinterface: *const GUID, ppresource: *mut *mut c_void, ) -> Result<()>

fn OpenSharedResourceByName( &self, lpname: &PCWSTR, dwdesiredaccess: u32, returnedinterface: *const GUID, ppresource: *mut *mut c_void, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§