Files
comaps/libs/drape/shader.hpp
Konstantin Pastbin bfffa1fff4 Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-17 14:32:37 +07:00

27 lines
396 B
C++

#pragma once
#include <cstdint>
#include <string>
namespace dp
{
class Shader
{
public:
enum class Type
{
VertexShader,
FragmentShader
};
Shader(std::string const & shaderName, std::string const & shaderSource, std::string const & defines, Type type);
~Shader();
uint32_t GetID() const;
private:
std::string const m_shaderName;
uint32_t m_glID;
};
} // namespace dp