mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
committed by
Konstantin Pastbin
parent
c9cbb64f12
commit
76ffc99abd
18
libs/shaders/program_pool.hpp
Normal file
18
libs/shaders/program_pool.hpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "shaders/programs.hpp"
|
||||
|
||||
#include "drape/gpu_program.hpp"
|
||||
#include "drape/pointers.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace gpu
|
||||
{
|
||||
class ProgramPool
|
||||
{
|
||||
public:
|
||||
virtual ~ProgramPool() = default;
|
||||
virtual drape_ptr<dp::GpuProgram> Get(Program program) = 0;
|
||||
};
|
||||
} // namespace gpu
|
||||
Reference in New Issue
Block a user