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