Class UniformBufferStd140¶
Defined in File glutil.h
Page Contents
Class Documentation¶
-
class
UniformBufferStd140
: public std::vector<uint8_t>¶ Helper class for accumulating uniform buffer data following the ‘std140’ packing format.
Public Types
-
using
Parent
= std::vector<uint8_t>¶
Public Functions
-
template<typename T, typename std::enable_if< std::is_pod< T >::value, int >::type = 0>void nanogui::UniformBufferStd140::push_back(T value)
-
template<typename Derived, typename std::enable_if< Derived::IsVectorAtCompileTime, int >::type = 0>void nanogui::UniformBufferStd140::push_back(const Eigen::MatrixBase< Derived > & value)
-
template<typename Derived, typename std::enable_if<!Derived::IsVectorAtCompileTime, int >::type = 0>void nanogui::UniformBufferStd140::push_back(const Eigen::MatrixBase< Derived > & value, bool colMajor = true)
-
using