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
Public Enum Default
Requests the default data array usage.
Public Enum ShaderInput
Allows the data array to be bound for shader reads.
Public Enum ShaderOutput
Allows the data array to be bound for shader writes.
Public Enum TransferSource
Allows the data array to be used as the source of a GPU-side transfer operation.
Public Enum TransferDestination
Allows the data array to be used as the destination of a GPU-side transfer operation.
Public Enum IndirectDrawSource
Allows the data array to contain indirect draw command structures consumed by SetIndirectDraw.
Public Enum IndirectDrawCountSource
Allows the data array or its counter to supply the draw count for indirect multi-draw operations.
Public Enum AtomicOperations
Allows shader code to perform atomic operations against the data array where supported by the renderer and shader language.

See also