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

This describes the buffer access mode. More...

#include <Buffer.h>

Inheritance diagram for xiiGALBufferMode:
[legend]

Public Types

enum  Enum : StorageType {
  Undefined = 0U , Formatted , Structured , Raw ,
  ENUM_COUNT , Default = Undefined
}
 
using StorageType = xiiUInt8
 

Detailed Description

This describes the buffer access mode.

Member Enumeration Documentation

◆ Enum

enum xiiGALBufferMode::Enum : StorageType
Enumerator
Undefined 

Undefined buffer access mode.

Formatted 

Formatted buffer. Access to the buffer will use format conversion operations. In this mode, the element byte stride member of the buffer description defines the buffer element size. Buffer views can use different formats, but the format size must match the element byte stride.

Structured 

Structured buffer. In this mode, the element byte stride member of the buffer description defines the structure stride.

Raw 

Raw buffer. In this mode, the buffer is accessed as raw bytes. Formatted views of a raw buffer can also be created similar to formatted buffer. If formatted views are to be created, the element byte stride member of the buffer description must specify the size of the format.


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