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

General category of the shader resource (plShaderResourceBinding). Note that these are flags because some resources can be multiple resource types, e.g. plGALShaderResourceType::TextureAndSampler. More...

#include <Enumerations.h>

Classes

struct  Bits
 

Public Types

enum  Enum : plUInt8 {
  Sampler = PL_BIT(0) , ConstantBuffer = PL_BIT(1) , TextureSRV = PL_BIT(2) , BufferSRV = PL_BIT(3) ,
  TextureUAV = PL_BIT(4) , BufferUAV = PL_BIT(5) , Default = 0
}
 
using StorageType = plUInt8
 

Static Public Member Functions

static plBitflags< plGALShaderResourceCategoryMakeFromShaderDescriptorType (plGALShaderResourceType::Enum type)
 

Static Public Attributes

static constexpr int ENUM_COUNT = 4
 

Detailed Description

General category of the shader resource (plShaderResourceBinding). Note that these are flags because some resources can be multiple resource types, e.g. plGALShaderResourceType::TextureAndSampler.


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