Copyright Matus Chochlik. Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
#ifndef OGLPLUS_EXAMPLE_RESOURCES_HPP // NOLINT(llvm-header-guard)
#define OGLPLUS_EXAMPLE_RESOURCES_HPP
class edges_program {
public:
void init(execution_context&, video_context&);
void clean_up(video_context&);
void set_projection(video_context&, orbiting_camera&);
private:
};
class icosahedron_geometry {
public:
void init(execution_context&, video_context&);
void clean_up(video_context&);
void draw(video_context&);
static auto position_loc() noexcept {
}
private:
oglp::owned_buffer_name positions;
oglp::owned_buffer_name indices;
std::vector<oglp::shape_draw_operation> ops;
};
}
#endif
prog_var_location< EAGINE_ID_V(Uniform)> uniform_location
Alias for shader program uniform location wrapper.
Definition: prog_var_loc.hpp:115
prog_var_location< EAGINE_ID_V(VertexAttr)> vertex_attrib_location
Alias for program vertex attribute location wrapper.
Definition: prog_var_loc.hpp:104