Loading [MathJax]/extensions/tex2jax.js
Tatooine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Concepts
Public Member Functions | Private Attributes | List of all members
tatooine::rendering::pointset< VertexAttributes > Struct Template Reference

#include <pointset.h>

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

Public Member Functions

 pointset (std::size_t const num_vertices)
 
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

◆ pointset()

template<typename... VertexAttributes>
tatooine::rendering::pointset< VertexAttributes >::pointset ( std::size_t const  num_vertices)
inline

Member Function Documentation

◆ bind()

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

◆ draw()

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

◆ geometry() [1/2]

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

◆ geometry() [2/2]

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

◆ vertexbuffer() [1/2]

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

◆ vertexbuffer() [2/2]

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

Member Data Documentation

◆ m_geometry

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

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