All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdBufferArrayUsageHint Union Reference

The union provides a set of flags that provide hints to the memory management system about the properties of a Buffer Array Range (BAR), so it can efficiently organize that memory. More...

Public Attributes

struct
HdBufferArrayUsageHint::_Bits 
bits
 
uint32_t value
 

Detailed Description

The union provides a set of flags that provide hints to the memory management system about the properties of a Buffer Array Range (BAR), so it can efficiently organize that memory.

For example, the memory manager should probably not aggregate BARs with different usage hints.

The union provides two members:

  • value: The combined set of flags
  • bits: Access to individual flag bits

The flag bits are:

  • immutable: The BAR will not be modified once created and populated.
  • sizeVarying: The number of elements in the BAR changes with time.

Some flag bits may not make sense in combination (i.e. mutually exclusive to each other). For example, it is logically impossible to be both immutable (i.e. not changing) and sizeVarying (changing). However, these logically impossible combinations are not enforced and remain valid potential values.

Definition at line 74 of file bufferArray.h.


The documentation for this union was generated from the following file: