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

This describes the resorurce dimension. This is used by the texture description to describe the texture type, and the texture view description to describe the texture view type. More...

#include <GraphicsTypes.h>

Inheritance diagram for xiiGALResourceDimension:
[legend]

Public Types

enum  Enum : StorageType {
  Undefined = -1 , Buffer , Texture1D , Texture1DArray ,
  Texture2D , Texture2DArray , Texture3D , TextureCube ,
  TextureCubeArray , ENUM_COUNT , Default = Undefined
}
 
using StorageType = xiiInt8
 

Detailed Description

This describes the resorurce dimension. This is used by the texture description to describe the texture type, and the texture view description to describe the texture view type.

Member Enumeration Documentation

◆ Enum

enum xiiGALResourceDimension::Enum : StorageType
Enumerator
Undefined 

Undefined resource type.

Buffer 

Buffer resource type.

Texture1D 

One-dimensional texture.

Texture1DArray 

One-dimensional texture array.

Texture2D 

Two-dimensional texture.

Texture2DArray 

Two-dimensional texture array.

Texture3D 

Three-dimension texture.

TextureCube 

Cube-map texture.

TextureCubeArray 

Cube map array texture.


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