Associate a Field with some vertex array that is uniquely defined by its type, such as a ColorArray. More...
#include <VertexField.hpp>
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.
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.