Welcome to mirror list, hosted at ThFree Co, Russian Federation.

uniform_value.hpp « drape - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 893407c293e23578e0d6ce4f9c8035c078a0aea1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#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