[]
Initializes a new instance of the Texture3D class.
public static Texture3D Create(Device device, ref Texture3DDescription description)
| 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)
| 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 |