PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
PixelBullet::Shader::UniformBlock Class Reference

Public Types

enum class  Type { None , Uniform , Storage , Push }
 

Public Member Functions

 UniformBlock (int32_t binding=-1, int32_t size=-1, VkShaderStageFlags stageFlags=0, Type type=Type::Uniform)
 
int32_t GetBinding () const
 
int32_t GetSize () const
 
VkShaderStageFlags GetStageFlags () const
 
Type GetType () const
 
const std::map< std::string, Uniform > & GetUniforms () const
 
std::optional< UniformGetUniform (const std::string &name) const
 
bool operator== (const UniformBlock &rhs) const
 
bool operator!= (const UniformBlock &rhs) const
 

Friends

class Shader
 
const Nodeoperator>> (const Node &node, UniformBlock &uniformBlock)
 
Nodeoperator<< (Node &node, const UniformBlock &uniformBlock)
 

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