Public Types | Public Member Functions

Wizt::VBOField< VBOArrayType > Class Template Reference
[The Fish Eye Retina - Fiber Bundle to OpenGL Gateway via Vish API]

Associate a Field with some vertex array that is uniquely defined by its type, such as a ColorArray. More...

#include <VertexField.hpp>

List of all members.

Public Types

Public Member Functions


Detailed Description

template<class VBOArrayType>
class Wizt::VBOField< VBOArrayType >

Associate a Field with some vertex array that is uniquely defined by its type, such as a ColorArray.

An implementation of GL::FieldBuffer<VBOArrayType> must exist and provide meaningful results.


Member Function Documentation

template<class VBOArrayType>
override RefPtr<BufferArray> Wizt::VBOField< VBOArrayType >::createVBOArray ( const RefPtr< Fiber::MemBase > &  MB,
const string &  arrayname,
const RefPtr< GLProgram > &  Shader,
const Fiber::MemBase::Creator_t theCreator 
) const [inline, virtual]

Virtual function to create a vertex array from a given memory array.

This function must be called within a valid OpenGL Context.

Implements Wizt::VertexField.