charcoal/OpenGLEngine/GLUtil.h
elipzer 5200ba4dbe Specular Lighting
Next up is attenuation
2018-09-14 23:30:14 -04:00

25 lines
647 B
C++

#pragma once
#include <glm/glm.hpp>
#include <vector>
#include "BuiltinTypes.h"
namespace charcoal
{
namespace builtin
{
namespace glutil
{
using namespace glm;
void clear_screen();
void uniform_int(int uniform_index, int value);
void uniform_uint(int uniform_index, unsigned int value);
void uniform_float(int uniform_index, float value);
void uniform_vec3(int uniform_index, const vec3& value);
void uniform_matrix(int uniform_index, const mat4& matrix, bool transpose = false);
void uniform_lights(int uniform_index, const std::vector<Light>& lights); // TODO: This may want to be moved somewhere else
}
}
}