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