VolViz
A volume visualization tool
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
VolViz::Private_::GL::VertexArray Struct Reference

RAII wrapper for OpenGL vertex arrays. More...

#include <VertexArray.h>

+ Collaboration diagram for VolViz::Private_::GL::VertexArray:

Public Member Functions

 VertexArray (int) noexcept
 
 VertexArray () noexcept
 
 ~VertexArray ()
 
 VertexArray (VertexArray &&rhs) noexcept
 
VertexArrayoperator= (VertexArray &&rhs) noexcept
 
void bind () const noexcept
 
VertexArrayenableVertexAttribArray (GLuint idx) noexcept
 

Static Public Member Functions

static void unbind () noexcept
 

Public Attributes

GLuint name = 0
 

Detailed Description

RAII wrapper for OpenGL vertex arrays.

Constructor & Destructor Documentation

VolViz::Private_::GL::VertexArray::VertexArray ( int  )
inlinenoexcept

Constructs an uninitialized vertex array, i.e. with no corresponing OpenGL vertex array

VolViz::Private_::GL::VertexArray::VertexArray ( )
inlinenoexcept
VolViz::Private_::GL::VertexArray::~VertexArray ( )
inline
VolViz::Private_::GL::VertexArray::VertexArray ( VertexArray &&  rhs)
inlinenoexcept

Member Function Documentation

void VolViz::Private_::GL::VertexArray::bind ( ) const
inlinenoexcept
VertexArray& VolViz::Private_::GL::VertexArray::enableVertexAttribArray ( GLuint  idx)
inlinenoexcept
VertexArray& VolViz::Private_::GL::VertexArray::operator= ( VertexArray &&  rhs)
inlinenoexcept
static void VolViz::Private_::GL::VertexArray::unbind ( )
inlinestaticnoexcept

Member Data Documentation

GLuint VolViz::Private_::GL::VertexArray::name = 0

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