[]
Initializes a new instance of the Texture1D class.
public static Texture1D Create(Device device, ref Texture1DDescription description)
Public Shared Function Create(device As Device, ByRef description As Texture1DDescription) As Texture1D
| 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)
Public Shared Function Create(device As Device, description As Texture1DDescription, ParamArray data As DataStream()) As Texture1D
| 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)
Public Shared Function Create(device As Device, description As Texture1DDescription, ParamArray data As IntPtr()) As Texture1D
| 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)
Public Shared Function Create(device As Device, description As Texture1DDescription, data As DataBox()) As Texture1D
| 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 |