Tatooine
Public Member Functions | Private Attributes | List of all members
tatooine::rendering::line_loop< VertexAttributes > Struct Template Reference

#include <line_loop.h>

Collaboration diagram for tatooine::rendering::line_loop< VertexAttributes >:
[legend]

Public Member Functions

 line_loop (std::size_t const size)
 
auto bind ()
 
auto draw ()
 
auto geometry () const -> auto const &
 
auto geometry () -> auto &
 
auto vertexbuffer () const -> auto const &
 
auto vertexbuffer () -> auto &
 

Private Attributes

gl::indexeddata< VertexAttributes... > m_geometry
 

Constructor & Destructor Documentation

◆ line_loop()

template<typename... VertexAttributes>
tatooine::rendering::line_loop< VertexAttributes >::line_loop ( std::size_t const  size)
inlineexplicit

Member Function Documentation

◆ bind()

template<typename... VertexAttributes>
auto tatooine::rendering::line_loop< VertexAttributes >::bind ( )
inline

◆ draw()

template<typename... VertexAttributes>
auto tatooine::rendering::line_loop< VertexAttributes >::draw ( )
inline

◆ geometry() [1/2]

template<typename... VertexAttributes>
auto tatooine::rendering::line_loop< VertexAttributes >::geometry ( ) -> auto&
inline

◆ geometry() [2/2]

template<typename... VertexAttributes>
auto tatooine::rendering::line_loop< VertexAttributes >::geometry ( ) const -> auto const&
inline

◆ vertexbuffer() [1/2]

template<typename... VertexAttributes>
auto tatooine::rendering::line_loop< VertexAttributes >::vertexbuffer ( ) -> auto&
inline

◆ vertexbuffer() [2/2]

template<typename... VertexAttributes>
auto tatooine::rendering::line_loop< VertexAttributes >::vertexbuffer ( ) const -> auto const&
inline

Member Data Documentation

◆ m_geometry

template<typename... VertexAttributes>
gl::indexeddata<VertexAttributes...> tatooine::rendering::line_loop< VertexAttributes >::m_geometry
private

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