Plasma Engine  2.0
Loading...
Searching...
No Matches
plGALResourceFormatSupport Struct Reference

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

#include <DeviceCapabilities.h>

Classes

struct  Bits
 

Public Types

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

Detailed Description

Defines which operations can be performed on an plGALResourceFormat.

See also
plGALDeviceCapabilities::m_FormatSupport

Member Enumeration Documentation

◆ Enum

Enumerator
Texture 

Can be used as a texture and bound to a plGALShaderResourceType::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 plGALShaderResourceType::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: