Tatooine
|
#include <indexeddata.h>
Public Types | |
using | vbo_t = gl::vertexbuffer< Ts... > |
using | ibo_t = gl::indexbuffer |
using | vbo_value_type = typename vbo_t::value_type |
using | ibo_value_type = unsigned int |
using | vbo_data_vec = std::vector< vbo_value_type > |
using | ibo_data_vec = std::vector< ibo_value_type > |
Public Member Functions | |
indexeddata ()=default | |
indexeddata (indexeddata const &other) | |
indexeddata (indexeddata &&other) noexcept | |
auto | operator= (indexeddata const &other) -> indexeddata & |
auto | operator= (indexeddata &&other) noexcept -> indexeddata & |
indexeddata (vbo_data_vec const &vbo_data, ibo_data_vec const &ibo_data) | |
indexeddata (size_t const vbo_size, size_t const ibo_size) | |
auto | create_vao () const |
void | clear () |
void | draw_points () const |
void | draw_line_strip () const |
void | draw_line_loop () const |
void | draw_lines () const |
void | draw_line_strip_adjacency () const |
void | draw_triangle_strip () const |
void | draw_triangle_fan () const |
void | draw_triangles () const |
void | draw_triangle_strip_adjacency () const |
void | draw_triangles_adjacency () const |
void | draw_patches () const |
auto | indexbuffer () -> auto & |
auto | indexbuffer () const -> auto const & |
auto | vertexbuffer () -> auto & |
auto | vertexbuffer () const -> auto const & |
auto | mutex () -> auto & |
auto | mutex () const -> auto const & |
Private Attributes | |
vbo_t | m_vbo |
ibo_t | m_ibo |
std::mutex | m_mutex |
using tatooine::gl::indexeddata< Ts >::ibo_data_vec = std::vector<ibo_value_type> |
using tatooine::gl::indexeddata< Ts >::ibo_t = gl::indexbuffer |
using tatooine::gl::indexeddata< Ts >::ibo_value_type = unsigned int |
using tatooine::gl::indexeddata< Ts >::vbo_data_vec = std::vector<vbo_value_type> |
using tatooine::gl::indexeddata< Ts >::vbo_t = gl::vertexbuffer<Ts...> |
using tatooine::gl::indexeddata< Ts >::vbo_value_type = typename vbo_t::value_type |
|
default |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
private |
|
mutableprivate |
|
private |