XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALExternalMemoryFlags Struct Reference

This describes the external memory usage flags. More...

#include <GraphicsTypes.h>

Classes

struct  Bits
 

Public Types

enum  Enum : StorageType {
  None = 0U , ReadOnly = XII_BIT(0) , WriteOnly = XII_BIT(1) , SharedAccess = XII_BIT(2) ,
  Default = None
}
 
using StorageType = xiiUInt8
 

Detailed Description

This describes the external memory usage flags.

These flags mirror VkExternalMemoryHandleTypeFlagBits.

Note
Not all flags may be supported for all external memory types. For example, UserPointer external memory type may only support None flag.

Member Enumeration Documentation

◆ Enum

enum xiiGALExternalMemoryFlags::Enum : StorageType
Enumerator
ReadOnly 

The external memory is immutable and will not be written by the GAL.

WriteOnly 

The external memory may be written by the GAL.

SharedAccess 

The external memory will be accessed by both the GAL and an external producer/consumer.


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