[]
Initializes a new instance of the BufferDescription struct.
public BufferDescription(int sizeInBytes, ResourceUsage usage, BindFlags bindFlags, CpuAccessFlags cpuAccessFlags, ResourceMiscFlags miscFlags, int structureByteStride)
| Type | Name | Description |
|---|---|---|
| int | sizeInBytes | The size in bytes. |
| ResourceUsage | usage | The usage. |
| BindFlags | bindFlags | The bind flags. |
| CpuAccessFlags | cpuAccessFlags | The CPU access flags. |
| ResourceMiscFlags | miscFlags | The option flags. |
| int | structureByteStride | The structure byte stride. |