Home -> IDataArray -> UsageFlags
Description
The UsageFlags enumeration declares how an IDataArray may be used after allocation. These flags must be set before memory is allocated so the renderer can create the correct native resource and binding permissions.
Members
| Name | Description | |
|---|---|---|
| Default |
Requests the default data array usage.
|
|
| ShaderInput |
Allows the data array to be bound for shader reads.
|
|
| ShaderOutput |
Allows the data array to be bound for shader writes.
|
|
| TransferSource |
Allows the data array to be used as the source of a GPU-side transfer operation.
|
|
| TransferDestination |
Allows the data array to be used as the destination of a GPU-side transfer operation.
|
|
| IndirectDrawSource |
Allows the data array to contain indirect draw command structures consumed by SetIndirectDraw.
|
|
| IndirectDrawCountSource |
Allows the data array or its counter to supply the draw count for indirect multi-draw operations.
|
|
| AtomicOperations |
Allows shader code to perform atomic operations against the data array where supported by the renderer and shader language.
|