mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 13:53:37 +00:00
Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
This commit is contained in:
22
drape/uniform_value.hpp
Normal file
22
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
|
||||
Reference in New Issue
Block a user