VBufIterator Struct Reference
[Rendering Services]

Inherits Geometry.

Inherited by IteratorImpl.

List of all members.

Public Methods

virtual bool initialize (VertexBuffer *vb, int size)=0
virtual void setPrimitiveType (int type)=0
virtual void set (int i, int vertexIndex)=0
virtual int size () const=0
virtual int getPrimitiveType () const=0
virtual UInt32getData ()=0
virtual VertexBuffergetVertexBuffer ()=0


Detailed Description

A list of indices into a vertex buffer.


Member Function Documentation

virtual UInt32* VBufIterator::getData   [pure virtual]
 

Retrieve a pointer to the index buffer. Be careful with it!

virtual int VBufIterator::getPrimitiveType   const [pure virtual]
 

Get the type of primitives contained in the buffer.

virtual VertexBuffer* VBufIterator::getVertexBuffer   [pure virtual]
 

Retrieve a reference to the associated vertex buffer.

virtual bool VBufIterator::initialize VertexBuffer   vb,
int    size
[pure virtual]
 

Allocate memory for the list of indices.

@type vb The list of vertices to be indexed. @type size The number of indices to store in the iterator.

virtual void VBufIterator::set int    i,
int    vertexIndex
[pure virtual]
 

Set a vertex index at a position in the buffer.

virtual void VBufIterator::setPrimitiveType int    type [pure virtual]
 

Set the primitive type. The default is TRIANGLES.

Parameters:
type  One of TRIANGLES or QUADS.

virtual int VBufIterator::size   const [pure virtual]
 

Get the number of indices stored in the buffer.


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


Flat Four Engine
Copyright (C) 2001 by 379, Inc.
This page generated by Doxygen