15#ifndef SHADERUNIFORM_H_6014714286
16#define SHADERUNIFORM_H_6014714286
43template<
typename ValueType >
113 const static int NULL_UNIFORM_LOCATION = -1;
131void LIBCARNA
uploadUniform(
int location,
const unsigned int value );
133void LIBCARNA
uploadUniform(
int location,
const float value );
166template<
typename ValueType >
189 virtual void uploadTo(
int location )
const override;
194template<
typename ValueType >
202template<
typename ValueType >
206 uploadUniform( location,
static_cast< const UniformType&
>( value ) );
Contains forward-declarations.
Represents an association.
Represents a color. Objects from this class are copyable and assignable.
Maintains an OpenGL shader program. Realizes the RAII-idiom.
Defines LibCarna::base::math namespace and LIBCARNA_FOR_VECTOR3UI.
Eigen::Matrix< float, 3, 3, Eigen::ColMajor > Matrix3f
Defines matrix.
Eigen::Matrix< float, 2, 1 > Vector2f
Defines vector.
Eigen::Matrix< float, 3, 1 > Vector3f
Defines vector.
Eigen::Matrix< float, 4, 4, Eigen::ColMajor > Matrix4f
Defines matrix.
Eigen::Matrix< float, 4, 1 > Vector4f
Defines vector.