This repository has been archived on 2025-03-22. You can view files and clone it, but cannot push or open issues or pull requests.
organicmaps-tmp/drape/uniform_value.hpp
2018-07-03 19:16:31 +03:00

22 lines
675 B
C++

#pragma once
#include "drape/glsl_types.hpp"
#include <cstdint>
namespace dp
{
class UniformValue
{
public:
static void ApplyRaw(int8_t location, glsl::mat4 const & m);
static void ApplyRaw(int8_t location, float f);
static void ApplyRaw(int8_t location, glsl::vec2 const & v);
static void ApplyRaw(int8_t location, glsl::vec3 const & v);
static void ApplyRaw(int8_t location, glsl::vec4 const & v);
static void ApplyRaw(int8_t location, int i);
static void ApplyRaw(int8_t location, glsl::ivec2 const & v);
static void ApplyRaw(int8_t location, glsl::ivec3 const & v);
static void ApplyRaw(int8_t location, glsl::ivec4 const & v);
};
} // namespace dp