Home -> IResourceArray

Declaration

class IResourceArray;

Description

The IResourceArray type is a convenience base interface for all resource array types. For specific functionality provided by resource arrays, please refer to the documentation for the specific types which extend this interface.

Extended interface types

Name Description
Public Interface ITexelArray
A set of texel vector elements in a one dimensional array. Able to be read or written within shaders, and able to alias IIndexBuffer and IVertexBuffer resources to allow them to be written from shaders.
Public Interface IDataArray
A set of arbitrary byte structures in a one dimensional array. Able to be read or written within shaders, and able to be used for atomic operations or defining indirect draw parameters.

Enumerations

Name Description
Public Enum PerformanceHint
Flags to provide hints about how a resource array will be read and written by the CPU and GPU.
Public Enum DataPersistenceFlags
Flags to describe how long existing resource array data must remain valid.

Members

Usage methods

Name Description
Public member SetPerformanceHints
Provides hints to the renderer about how this resource array will be read and written.
Public member SetDataPersistenceFlags
Provides hints to the renderer about the required lifetime of existing resource data.