NAP
Public Types | Public Member Functions | Public Attributes | List of all members
SamplerDeclaration Class Referencefinal

#include <samplerdeclaration.h>

Public Types

enum  EType : uint8_t { Type_1D, Type_2D, Type_3D, Type_Cube }
 

Public Member Functions

 SamplerDeclaration (const std::string &name, int binding, VkShaderStageFlagBits stage, EType type)
 
 SamplerDeclaration (const std::string &name, int binding, VkShaderStageFlagBits stage, EType type, bool isArray, int numElements)
 

Public Attributes

std::string mName
 
int mBinding = -1
 
VkShaderStageFlagBits mStage
 
EType mType = EType::Type_2D
 
bool mIsArray = false
 
int mNumElements = 1
 

Member Enumeration Documentation

◆ EType

enum EType : uint8_t
strong
Enumerator
Type_1D 
Type_2D 
Type_3D 
Type_Cube 

Constructor & Destructor Documentation

◆ SamplerDeclaration() [1/2]

SamplerDeclaration ( const std::string &  name,
int  binding,
VkShaderStageFlagBits  stage,
EType  type 
)

◆ SamplerDeclaration() [2/2]

SamplerDeclaration ( const std::string &  name,
int  binding,
VkShaderStageFlagBits  stage,
EType  type,
bool  isArray,
int  numElements 
)

Member Data Documentation

◆ mBinding

int mBinding = -1

◆ mIsArray

bool mIsArray = false

◆ mName

std::string mName

◆ mNumElements

int mNumElements = 1

◆ mStage

VkShaderStageFlagBits mStage

◆ mType