Tatooine
Public Types | Public Member Functions | List of all members
tatooine::gl::vertexarray Class Reference

#include <vertexarray.h>

Inheritance diagram for tatooine::gl::vertexarray:
[legend]
Collaboration diagram for tatooine::gl::vertexarray:
[legend]

Public Types

using this_type = vertexarray
 

Public Member Functions

DLL_API vertexarray ()
 
DLL_API vertexarray (vertexarray const &other)=delete
 
DLL_API vertexarray (vertexarray &&other)=default
 
DLL_API vertexarrayoperator= (vertexarray const &other)=delete
 
DLL_API vertexarrayoperator= (vertexarray &&other)=default
 
DLL_API ~vertexarray ()
 
DLL_API void destroy_handle ()
 
DLL_API void bind () const
 
DLL_API void unbind () const
 
DLL_API void draw (Primitive primitive, GLsizei num_primitives) const
 
DLL_API void draw (GLsizei num_primitives) const
 
DLL_API void draw_points (GLsizei num_primitives) const
 
DLL_API void draw_line_strip (GLsizei num_primitives) const
 
DLL_API void draw_line_loop (GLsizei num_primitives) const
 
DLL_API void draw_lines (GLsizei num_primitives) const
 
DLL_API void draw_line_strip_adjacency (GLsizei num_primitives) const
 
DLL_API void draw_triangle_strip (GLsizei num_primitives) const
 
DLL_API void draw_triangle_fan (GLsizei num_primitives) const
 
DLL_API void draw_triangles (GLsizei num_primitives) const
 
DLL_API void draw_triangle_strip_adjacency (GLsizei num_primitives) const
 
DLL_API void draw_triangles_adjacency (GLsizei num_primitives) const
 
DLL_API void draw_patches (GLsizei num_primitives) const
 
- Public Member Functions inherited from tatooine::gl::id_holder< GLuint >
 id_holder ()
 
 id_holder (GLuint _id)
 
 id_holder (id_holder const &other)=delete
 
 id_holder (id_holder &&other) noexcept
 
auto operator= (id_holder const &other) -> id_holder &=delete
 
auto operator= (id_holder &&other) noexcept -> id_holder &
 
 ~id_holder ()=default
 
auto id () const
 
void swap (id_holder &other)
 

Additional Inherited Members

- Static Public Attributes inherited from tatooine::gl::id_holder< GLuint >
static constexpr auto default_val
 
- Protected Member Functions inherited from tatooine::gl::id_holder< GLuint >
void set_id (GLuint id)
 
auto id_ptr ()
 
auto id_ref () -> auto &
 

Member Typedef Documentation

◆ this_type

Constructor & Destructor Documentation

◆ vertexarray() [1/3]

◆ vertexarray() [2/3]

DLL_API tatooine::gl::vertexarray::vertexarray ( vertexarray const &  other)
delete

◆ vertexarray() [3/3]

DLL_API tatooine::gl::vertexarray::vertexarray ( vertexarray &&  other)
default

◆ ~vertexarray()

DLL_API tatooine::gl::vertexarray::~vertexarray ( )

Member Function Documentation

◆ bind()

DLL_API void tatooine::gl::vertexarray::bind ( ) const

◆ destroy_handle()

DLL_API void tatooine::gl::vertexarray::destroy_handle ( )

◆ draw() [1/2]

DLL_API void tatooine::gl::vertexarray::draw ( GLsizei  num_primitives) const

◆ draw() [2/2]

DLL_API void tatooine::gl::vertexarray::draw ( Primitive  primitive,
GLsizei  num_primitives 
) const

◆ draw_line_loop()

DLL_API void tatooine::gl::vertexarray::draw_line_loop ( GLsizei  num_primitives) const

◆ draw_line_strip()

DLL_API void tatooine::gl::vertexarray::draw_line_strip ( GLsizei  num_primitives) const

◆ draw_line_strip_adjacency()

DLL_API void tatooine::gl::vertexarray::draw_line_strip_adjacency ( GLsizei  num_primitives) const

◆ draw_lines()

DLL_API void tatooine::gl::vertexarray::draw_lines ( GLsizei  num_primitives) const

◆ draw_patches()

DLL_API void tatooine::gl::vertexarray::draw_patches ( GLsizei  num_primitives) const

◆ draw_points()

DLL_API void tatooine::gl::vertexarray::draw_points ( GLsizei  num_primitives) const

◆ draw_triangle_fan()

DLL_API void tatooine::gl::vertexarray::draw_triangle_fan ( GLsizei  num_primitives) const

◆ draw_triangle_strip()

DLL_API void tatooine::gl::vertexarray::draw_triangle_strip ( GLsizei  num_primitives) const

◆ draw_triangle_strip_adjacency()

DLL_API void tatooine::gl::vertexarray::draw_triangle_strip_adjacency ( GLsizei  num_primitives) const

◆ draw_triangles()

DLL_API void tatooine::gl::vertexarray::draw_triangles ( GLsizei  num_primitives) const

◆ draw_triangles_adjacency()

DLL_API void tatooine::gl::vertexarray::draw_triangles_adjacency ( GLsizei  num_primitives) const

◆ operator=() [1/2]

DLL_API vertexarray & tatooine::gl::vertexarray::operator= ( vertexarray &&  other)
default

◆ operator=() [2/2]

DLL_API vertexarray & tatooine::gl::vertexarray::operator= ( vertexarray const &  other)
delete

◆ unbind()

DLL_API void tatooine::gl::vertexarray::unbind ( ) const

The documentation for this class was generated from the following file: