[]
Initializes a new instance of the Texture3D class.
public static Texture3D Create(Device device, ref Texture3DDescription description)
Public Shared Function Create(device As Device, ByRef description As Texture3DDescription) As Texture3D
| Type | Name | Description |
|---|---|---|
| Device | device | The device with which to associate the texture. |
| Texture3DDescription | description | The description of the texture. |
| Type | Description |
|---|---|
| Texture3D |
Initializes a new instance of the Texture3D class.
public static Texture3D Create(Device device, Texture3DDescription description, DataBox[] data)
Public Shared Function Create(device As Device, description As Texture3DDescription, data As DataBox()) As Texture3D
| 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. |
| Type | Description |
|---|---|
| Texture3D |