[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.D3D11

Class D3D11

Namespace
GrapeCity.Documents.DX.Direct3D11
Assembly
GcDocs.DX.Windows.dll

D3D11 functions.

public static class D3D11
Inheritance
object
D3D11
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Fields

SdkVersion

D3D11_SDK_VERSION

public const int SdkVersion = 7

Field Value

int

Methods

CreateDevice(Adapter, DriverType, IntPtr, DeviceCreationFlags, FeatureLevel[], int, int, Device, out FeatureLevel, out DeviceContext)

HRESULT D3D11CreateDevice([In, Optional] IDXGIAdapter* pAdapter,[In] D3D_DRIVER_TYPE DriverType,[In] HINSTANCE Software,[In] D3D11_CREATE_DEVICE_FLAG Flags,[In, Buffer, Optional] const D3D_FEATURE_LEVEL* pFeatureLevels,[In] unsigned int FeatureLevels,[In] unsigned int SDKVersion,[Out, Fast] ID3D11Device** ppDevice,[Out, Optional] D3D_FEATURE_LEVEL* pFeatureLevel,[Out, Optional] ID3D11DeviceContext** ppImmediateContext)

public static HResult CreateDevice(Adapter adapterRef, DriverType driverType, IntPtr software, DeviceCreationFlags flags, FeatureLevel[] featureLevelsRef, int featureLevels, int sDKVersion, Device deviceOut, out FeatureLevel featureLevelRef, out DeviceContext immediateContextOut)

Parameters

adapterRef Adapter
driverType DriverType
software System.IntPtr
flags DeviceCreationFlags
featureLevelsRef FeatureLevel[]
featureLevels int
sDKVersion int
deviceOut Device
featureLevelRef FeatureLevel
immediateContextOut DeviceContext

Returns

HResult