CreateDeviceContextState Method
CreateDeviceContextState<T>(CreateDeviceContextStateFlags, FeatureLevel[], out FeatureLevel)
Creates a context state object that holds all Microsoft Direct3D state and some Direct3D behavior.
Declaration
public DeviceContextState CreateDeviceContextState<T>(CreateDeviceContextStateFlags flags, FeatureLevel[] featureLevelsRef, out FeatureLevel chosenFeatureLevelRef) where T : ComObject
Public Function CreateDeviceContextState(Of T As ComObject)(flags As CreateDeviceContextStateFlags, featureLevelsRef As FeatureLevel(), ByRef chosenFeatureLevelRef As FeatureLevel) As DeviceContextState
Parameters
Returns
Type Parameters
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)
Declaration
public DeviceContextState CreateDeviceContextState(CreateDeviceContextStateFlags flags, FeatureLevel[] featureLevelsRef, int featureLevels, int sDKVersion, Guid emulatedInterface, out FeatureLevel chosenFeatureLevelRef)
Public Function CreateDeviceContextState(flags As CreateDeviceContextStateFlags, featureLevelsRef As FeatureLevel(), featureLevels As Integer, sDKVersion As Integer, emulatedInterface As Guid, ByRef chosenFeatureLevelRef As FeatureLevel) As DeviceContextState
Parameters
Returns