Home -> IndexAttribute -> PerformanceHint

Description

The PerformanceHint enumeration provides CPU and GPU read/write usage hints for index attribute data. The hints are supplied when an index attribute object is constructed.

Members

Name Description
Public Enum Default
Uses the renderer default storage and synchronization behaviour for this resource.
Public Enum ReadNever
Indicates that the application does not expect to read the resource from the CPU after creation or update.
Public Enum ReadRarely
Indicates that CPU reads are possible but uncommon, allowing the renderer to favour GPU efficient storage.
Public Enum ReadOften
Indicates that the resource may be read frequently by the CPU, allowing the renderer to choose storage or staging behaviour suited to repeated readback.
Public Enum ReadFlagsMask
Masks the CPU read behaviour bits. This value is intended for validation and bitwise operations rather than direct selection.
Public Enum WriteNever
Indicates that the application does not expect to write new CPU data after initial contents are established.
Public Enum WriteRarely
Indicates that CPU writes are possible but uncommon, allowing the renderer to favour storage that is efficient for normal GPU use.
Public Enum WriteOften
Indicates that the application expects frequent CPU updates, allowing the renderer to use upload paths suited to repeated writes.
Public Enum WriteFlagsMask
Masks the CPU write behaviour bits. This value is intended for validation and bitwise operations rather than direct selection.

See also