[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.Device.Create

Create Method

Create(DriverType)

Initializes a new instance of the Device class.

Declaration
public static Device Create(DriverType driverType)
Public Shared Function Create(driverType As DriverType) As Device
Parameters
Type Name Description
DriverType driverType

Type of the driver.

Returns
Type Description
Device

Create(Adapter)

Initializes a new instance of the Device class.

Declaration
public static Device Create(Adapter adapter)
Public Shared Function Create(adapter As Adapter) As Device
Parameters
Type Name Description
Adapter adapter

The adapter.

Returns
Type Description
Device

Create(DriverType, DeviceCreationFlags)

Declaration
public static Device Create(DriverType driverType, DeviceCreationFlags flags)
Public Shared Function Create(driverType As DriverType, flags As DeviceCreationFlags) As Device
Parameters
Type Name Description
DriverType driverType

Type of the driver.

DeviceCreationFlags flags

The flags.

Returns
Type Description
Device

Create(Adapter, DeviceCreationFlags)

Declaration
public static Device Create(Adapter adapter, DeviceCreationFlags flags)
Public Shared Function Create(adapter As Adapter, flags As DeviceCreationFlags) As Device
Parameters
Type Name Description
Adapter adapter
DeviceCreationFlags flags
Returns
Type Description
Device

Create(DriverType, DeviceCreationFlags, params FeatureLevel[])

Declaration
public static Device Create(DriverType driverType, DeviceCreationFlags flags, params FeatureLevel[] featureLevels)
Public Shared Function Create(driverType As DriverType, flags As DeviceCreationFlags, ParamArray featureLevels As FeatureLevel()) As Device
Parameters
Type Name Description
DriverType driverType
DeviceCreationFlags flags
FeatureLevel[] featureLevels
Returns
Type Description
Device

Create(Adapter, DeviceCreationFlags, params FeatureLevel[])

Declaration
public static Device Create(Adapter adapter, DeviceCreationFlags flags, params FeatureLevel[] featureLevels)
Public Shared Function Create(adapter As Adapter, flags As DeviceCreationFlags, ParamArray featureLevels As FeatureLevel()) As Device
Parameters
Type Name Description
Adapter adapter
DeviceCreationFlags flags
FeatureLevel[] featureLevels
Returns
Type Description
Device