Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
GL::FieldBuffer< ArrayType, ThrowExceptionOnTypeMismatch > Struct Template Reference

Templated static member function to load data from MemArrays into vertex arrays. More...

#include <FieldBuffer.hpp>

Public Types

typedef ArrayType::value_type value_type
typedef ArrayType::Base_t Base_t

Static Public Member Functions

static MemCore::RefPtr< Base_t > create (const MemCore::RefPtr< Fiber::MemBase > &MB, bool ForceMemCreation, const Fiber::MemBase::Creator_t &theCreator, BufferArray::usage usage_hint=BufferArray::STATIC_DRAW)
template<class ArrayConstructorParam>
static MemCore::RefPtr< Base_t > createParam (const ArrayConstructorParam &AParam, const MemCore::RefPtr< Fiber::MemBase > &MB, bool ForceMemCreation, const Fiber::MemBase::Creator_t &theCreator, BufferArray::usage usage_hint=BufferArray::STATIC_DRAW)

Detailed Description

template<class ArrayType, bool ThrowExceptionOnTypeMismatch = true>
struct GL::FieldBuffer< ArrayType, ThrowExceptionOnTypeMismatch >

Templated static member function to load data from MemArrays into vertex arrays.

Author
Werner Benger
Examples
ColoredLines.cpp, GlossyLines.cpp, and TransparentColoredSurface.cpp.