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

Class that handles a uniform buffer. More...

#include <UniformHandler.hpp>

Public Member Functions

 UniformHandler (bool multipipeline=false)
 
 UniformHandler (const Shader::UniformBlock &uniformBlock, bool multipipeline=false)
 
template<typename T >
void Push (const T &object, std::size_t offset, std::size_t size)
 
template<typename T >
void Push (const std::string &uniformName, const T &object, std::size_t size=0)
 
bool Update (const std::optional< Shader::UniformBlock > &uniformBlock)
 
const UniformBufferGetUniformBuffer () const
 

Detailed Description

Class that handles a uniform buffer.


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