[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.Device1

Device1 Class

ID3D11Device1

Implements
Namespace: C1.Util.DX.Direct3D11
Assembly: C1.Win.C1DX.4.8.dll
Syntax
[Guid("a04bfb29-08ef-43d6-a49c-a9bdbdcbe686")]
public class Device1 : Device, IDisposable, IUnknown

Constructors

Name Description
Device1(IntPtr)

Initializes a new instance of the Device1 class.

Properties

Name Description
ImmediateContext1

GetImmediateContext1

Methods

Name Description
CreateBlendState1(ref BlendStateDescription1)

HRESULT ID3D11Device1::CreateBlendState1([In] const D3D11_BLEND_DESC1* pBlendStateDesc,[Out, Fast] ID3D11BlendState1** ppBlendState)

CreateDeferredContext1(int)

HRESULT ID3D11Device1::CreateDeferredContext1([In] unsigned int ContextFlags,[Out, Fast] ID3D11DeviceContext1** ppDeferredContext)

CreateDeviceContextState(CreateDeviceContextStateFlags, FeatureLevel[], int, int, Guid, out FeatureLevel)

HRESULT ID3D11Device1::CreateDeviceContextState([In] D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG Flags,[In, Buffer] const D3D_FEATURE_LEVEL* pFeatureLevels,[In] unsigned int FeatureLevels,[In] unsigned int SDKVersion,[In] const GUID& EmulatedInterface,[Out, Optional] D3D_FEATURE_LEVEL* pChosenFeatureLevel,[Out, Fast] ID3DDeviceContextState** ppContextState)

CreateDeviceContextState<T>(CreateDeviceContextStateFlags, FeatureLevel[], out FeatureLevel)

Creates a context state object that holds all Microsoft Direct3D state and some Direct3D behavior.

CreateRasterizerState1(ref RasterizerStateDescription1)

HRESULT ID3D11Device1::CreateRasterizerState1([In] const D3D11_RASTERIZER_DESC1* pRasterizerDesc,[Out, Fast] ID3D11RasterizerState1** ppRasterizerState)

Dispose(bool)

Clean up any resources being used.

GetImmediateContext1(out DeviceContext1)

void ID3D11Device1::GetImmediateContext1([Out] ID3D11DeviceContext1** ppImmediateContext)

OpenSharedResource1(IntPtr, Guid)

HRESULT ID3D11Device1::OpenSharedResource1([In] void* hResource,[In] const GUID& returnedInterface,[Out] void** ppResource)

OpenSharedResource1<T>(IntPtr)

Gives a device access to a shared resource that is referenced by name and that was created on a different device. You must have previously created the resource as shared and specified that it uses NT handles (that is, you set the SharedNthandle flag).

OpenSharedResource1<T>(string, SharedResourceFlags)

Gives a device access to a shared resource that is referenced by name and that was created on a different device. You must have previously created the resource as shared and specified that it uses NT handles (that is, you set the SharedNthandle flag).

OpenSharedResourceByName(string, SharedResourceFlags, Guid)

HRESULT ID3D11Device1::OpenSharedResourceByName([In] const wchar_t* lpName,[In] DXGI_SHARED_RESOURCE_FLAGS dwDesiredAccess,[In] const GUID& returnedInterface,[Out] void** ppResource)

Operators

Name Description
explicit operator Device1(IntPtr)

Performs an explicit conversion from IntPtr to Device1.