Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::gfx::BufferObjectElement Struct Reference

Structure for clients to use to encapsulate Elements. More...

#include "bufferobject.h"

Collaboration diagram for ion::gfx::BufferObjectElement:

Public Member Functions

 BufferObjectElement ()
 Default constructor for templates. More...
 
 BufferObjectElement (const BufferObjectPtr &buffer_in, const size_t spec_index_in)
 
bool operator== (const BufferObjectElement &other) const
 

Public Attributes

const BufferObjectPtr buffer_object
 
const size_t spec_index
 

Detailed Description

Structure for clients to use to encapsulate Elements.

This is passed to Attribute to link a BufferObjectElement with a shader attribute.

Definition at line 378 of file bufferobject.h.

Constructor & Destructor Documentation

ion::gfx::BufferObjectElement::BufferObjectElement ( )
inline

Default constructor for templates.

Definition at line 380 of file bufferobject.h.

ion::gfx::BufferObjectElement::BufferObjectElement ( const BufferObjectPtr buffer_in,
const size_t  spec_index_in 
)
inline

Definition at line 384 of file bufferobject.h.

Member Function Documentation

bool ion::gfx::BufferObjectElement::operator== ( const BufferObjectElement other) const
inline

Definition at line 389 of file bufferobject.h.

References buffer_object, and spec_index.

Member Data Documentation

const BufferObjectPtr ion::gfx::BufferObjectElement::buffer_object
const size_t ion::gfx::BufferObjectElement::spec_index

Definition at line 395 of file bufferobject.h.

Referenced by ion::gfx::Attribute::operator==(), and operator==().


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