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

This describes special arguments for a map operation. This is used to describe addition map flags when mapping buffers and textures. More...

#include <GraphicsTypes.h>

Classes

struct  Bits
 

Public Types

enum  Enum : StorageType {
  None = 0U , DoNotWait = XII_BIT(0) , Discard = XII_BIT(1) , NoOverWrite = XII_BIT(2) ,
  Default = None
}
 
using StorageType = xiiUInt8
 

Detailed Description

This describes special arguments for a map operation. This is used to describe addition map flags when mapping buffers and textures.

Member Enumeration Documentation

◆ Enum

enum xiiGALMapFlags::Enum : StorageType
Enumerator
None 

No map flag specified.

DoNotWait 

Specifies that the map operation should not wait until previous command that is using the same resource goes to completion. Map returns a null pointer if the resource is still in use.

Discard 

Specifies that the previous contents of the resource will be discarded and undefined. This flag is only compatible with xiiGALMapType::Write.

NoOverWrite 

The system will not synchronize pending operations before mapping the buffer. It is the responsibility of the application to ensure that the buffer contents is not overwritten while it is in use by the GPU.


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