Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::gfx::BufferInfo< T > Struct Template Reference

A BufferInfo corresponds to an OpenGL Buffer Object. More...

#include "openglobjects.h"

Inheritance diagram for ion::gfx::BufferInfo< T >:
Collaboration diagram for ion::gfx::BufferInfo< T >:

Public Member Functions

 BufferInfo ()
 

Public Attributes

GLsizeiptr size
 The number of bytes of buffer data. More...
 
GLenum usage
 The usage pattern, one of GL_STREAM_DRAW, GL_STATIC_DRAW, or GL_DYNAMIC_DRAW. More...
 
GLvoid * mapped_data
 The data pointer of the buffer if it is mapped, or NULL. More...
 

Detailed Description

template<typename T>
struct ion::gfx::BufferInfo< T >

A BufferInfo corresponds to an OpenGL Buffer Object.

Definition at line 85 of file openglobjects.h.

Constructor & Destructor Documentation

template<typename T >
ion::gfx::BufferInfo< T >::BufferInfo ( )
inline

Definition at line 86 of file openglobjects.h.

Member Data Documentation

template<typename T >
GLvoid* ion::gfx::BufferInfo< T >::mapped_data

The data pointer of the buffer if it is mapped, or NULL.

Definition at line 96 of file openglobjects.h.

template<typename T >
GLsizeiptr ion::gfx::BufferInfo< T >::size

The number of bytes of buffer data.

Definition at line 91 of file openglobjects.h.

template<typename T >
GLenum ion::gfx::BufferInfo< T >::usage

The usage pattern, one of GL_STREAM_DRAW, GL_STATIC_DRAW, or GL_DYNAMIC_DRAW.

Definition at line 94 of file openglobjects.h.


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