[]
Initializes a new instance of the Texture2DDescription struct.
public Texture2DDescription(Format format, int width, int height, int arraySize = 1, int mipLevels = 0, BindFlags bindFlags = BindFlags.ShaderResource, ResourceUsage usage = ResourceUsage.Default, CpuAccessFlags cpuAccessFlags = CpuAccessFlags.None, int sampleCount = 1, int sampleQuality = 0, ResourceMiscFlags miscFlags = ResourceMiscFlags.None)
| Type | Name | Description |
|---|---|---|
| Format | format | |
| int | width | |
| int | height | |
| int | arraySize | |
| int | mipLevels | |
| BindFlags | bindFlags | |
| ResourceUsage | usage | |
| CpuAccessFlags | cpuAccessFlags | |
| int | sampleCount | |
| int | sampleQuality | |
| ResourceMiscFlags | miscFlags |