[]
Initializes a new instance of the Texture1D class.
public static Texture1D Create(Device device, ref Texture1DDescription description)
| Type | Name | Description |
|---|---|---|
| Device | device | The device with which to associate the texture. |
| Texture1DDescription | description | The description of the texture. |
| Type | Description |
|---|---|
| Texture1D |
Initializes a new instance of the Texture1D class.
public static Texture1D Create(Device device, Texture1DDescription description, params DataStream[] data)
| Type | Name | Description |
|---|---|---|
| Device | device | The device with which to associate the texture. |
| Texture1DDescription | description | The description of the texture. |
| DataStream[] | data | An array of initial texture data for each subresource. |
| Type | Description |
|---|---|
| Texture1D |
Initializes a new instance of the Texture1D class.
public static Texture1D Create(Device device, Texture1DDescription description, params IntPtr[] data)
| Type | Name | Description |
|---|---|---|
| Device | device | The device with which to associate the texture. |
| Texture1DDescription | description | The description of the texture. |
| IntPtr[] | data | An array of initial texture data for each subresource. |
| Type | Description |
|---|---|
| Texture1D |
Initializes a new instance of the Texture1D class.
public static Texture1D Create(Device device, Texture1DDescription description, DataBox[] data)
| Type | Name | Description |
|---|---|---|
| Device | device | The device with which to associate the texture. |
| Texture1DDescription | description | The description of the texture. |
| DataBox[] | data | An array of initial texture data for each subresource. |
| Type | Description |
|---|---|
| Texture1D |