Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
22
libs/drape/gpu_program.hpp
Normal file
22
libs/drape/gpu_program.hpp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace dp
|
||||
{
|
||||
class GpuProgram
|
||||
{
|
||||
public:
|
||||
explicit GpuProgram(std::string const & programName) : m_programName(programName) {}
|
||||
|
||||
virtual ~GpuProgram() = default;
|
||||
|
||||
std::string const & GetName() const { return m_programName; }
|
||||
|
||||
virtual void Bind() = 0;
|
||||
virtual void Unbind() = 0;
|
||||
|
||||
protected:
|
||||
std::string const m_programName;
|
||||
};
|
||||
} // namespace dp
|
||||
Loading…
Add table
Add a link
Reference in a new issue