fixes
This commit is contained in:
27
include/rendering/shader_program_lookups/mesh_lookup.hpp
Normal file
27
include/rendering/shader_program_lookups/mesh_lookup.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
#include "opengl/shader_program_lookup.hpp"
|
||||
#include "opengl/handles/shader_program_handle.hpp"
|
||||
#include "rendering/requirements/mesh_requirements.hpp"
|
||||
|
||||
namespace rendering::shader_program_lookups
|
||||
{
|
||||
|
||||
class mesh_lookup
|
||||
{
|
||||
public:
|
||||
void add(
|
||||
const zgl::shader_program_handle& shader_program_handle
|
||||
);
|
||||
|
||||
[[nodiscard]] std::optional<zgl::shader_program_handle> find(
|
||||
requirements::mesh::flags requirements
|
||||
) const;
|
||||
|
||||
void print();
|
||||
|
||||
private:
|
||||
zgl::shader_program_lookup m_shader_program_lookup;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user