[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.Texture3D.Create

Create Method

Create(Device, ref Texture3DDescription)

Initializes a new instance of the Texture3D class.

Declaration
public static Texture3D Create(Device device, ref Texture3DDescription description)
Parameters
Type Name Description
Device device

The device with which to associate the texture.

Texture3DDescription description

The description of the texture.

Returns
Type Description
Texture3D

Create(Device, Texture3DDescription, DataBox[])

Initializes a new instance of the Texture3D class.

Declaration
public static Texture3D Create(Device device, Texture3DDescription description, DataBox[] data)
Parameters
Type Name Description
Device device

The device with which to associate the texture.

Texture3DDescription description

The description of the texture.

DataBox[] data

An array of initial texture data for each subresource.

Returns
Type Description
Texture3D