charcoal/CharcoalBuiltin/GLUtil.h

25 lines
647 B
C
Raw Normal View History

#pragma once
#include <glm/glm.hpp>
2018-09-14 22:09:43 +00:00
#include <vector>
#include "BuiltinTypes.h"
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);
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);
2018-09-14 22:09:43 +00:00
void uniform_lights(int uniform_index, const std::vector<Light>& lights); // TODO: This may want to be moved somewhere else
}
}
}