ezEngine  Release 25.03
ezGALResourceFormatSupport Struct Reference

Defines which operations can be performed on an ezGALResourceFormat. More...

#include <DeviceCapabilities.h>

Classes

struct  Bits
 

Public Types

enum  Enum {
  None = 0, Texture = EZ_BIT(0), RenderTarget = EZ_BIT(1), TextureRW = EZ_BIT(2),
  MSAA2x = EZ_BIT(3), MSAA4x = EZ_BIT(4), MSAA8x = EZ_BIT(5), VertexAttribute = EZ_BIT(6),
  Default = 0
}
 
using StorageType = ezUInt8
 

Detailed Description

Defines which operations can be performed on an ezGALResourceFormat.

See also
ezGALDeviceCapabilities::m_FormatSupport

Member Enumeration Documentation

◆ Enum

Enumerator
Texture 

Can be used as a texture and bound to a ezGALShaderResourceType::Texture slot.

RenderTarget 

Can be used as a texture and bound as a render target.

TextureRW 

Can be used as a texture and bound to a ezGALShaderResourceType::TextureRW slot.

MSAA2x 

The format supports 2x MSAA.

MSAA4x 

The format supports 4x MSAA.

MSAA8x 

The format supports 8x MSAA.

VertexAttribute 

The format can be used as a vertex attribute.


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