2018-09-13 04:51:47 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <glm/glm.hpp>
|
2018-09-14 22:09:43 +00:00
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
#include "BuiltinTypes.h"
|
2018-09-13 04:51:47 +00:00
|
|
|
|
|
|
|
namespace charcoal
|
|
|
|
{
|
|
|
|
namespace builtin
|
|
|
|
{
|
|
|
|
namespace glutil
|
|
|
|
{
|
|
|
|
using namespace glm;
|
|
|
|
|
|
|
|
void clear_screen();
|
2018-09-14 22:09:43 +00:00
|
|
|
void uniform_int(int uniform_index, int value);
|
|
|
|
void uniform_uint(int uniform_index, unsigned int value);
|
2018-09-15 03:30:14 +00:00
|
|
|
void uniform_float(int uniform_index, float value);
|
|
|
|
void uniform_vec3(int uniform_index, const vec3& value);
|
2018-09-13 04:51:47 +00:00
|
|
|
void uniform_matrix(int uniform_index, const mat4& matrix, bool transpose = false);
|
2018-10-16 02:38:59 +00:00
|
|
|
void uniform_lights(int uniform_index, const std::vector<PhongLight>& lights); // TODO: This may want to be moved somewhere else
|
2018-09-13 04:51:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|