charcoal/CharcoalBuiltin/GLUtil.h
elipzer 8ee0ab2edb Lighting works... Just not properly
Commiting now so that there is something displaying for the lit
scene.
2018-10-15 22:38:59 -04:00

25 lines
652 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<PhongLight>& lights); // TODO: This may want to be moved somewhere else
}
}
}