Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
22
libs/drape/uniform_value.hpp
Normal file
22
libs/drape/uniform_value.hpp
Normal file
|
|
@ -0,0 +1,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
|
||||
Loading…
Add table
Add a link
Reference in a new issue