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

#include <GraphicsTypes.h>

Classes

struct  Bits

Public Types

enum  Enum : StorageType { None = 0U , Read = XII_BIT(0) , Write = XII_BIT(1) , Default = None }
using StorageType = xiiUInt8

Detailed Description

This describes the allowed CPU access mode flags when mapping a resource. This is used by the buffer and texture descriptions to describe the CPU access mode for buffers and textures.

Note
Only resources with xiiGALResourceUsage::Dynamic can be mapped.

Member Enumeration Documentation

◆ Enum

enum xiiGALCPUAccessFlag::Enum : StorageType
Enumerator
None 

No CPU access.

Read 

A resource should be mapped for reading.

Write 

A resource should be mapped for writing.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsFoundation/Declarations/GraphicsTypes.h