29 #ifndef _DynamicLines_H__ 30 #define _DynamicLines_H__ 45 DynamicLines(OperationType opType = RenderOperation::OT_LINE_STRIP);
49 void addPoint(
const Vector3 &p);
51 void addPoint(Real x, Real y, Real z);
54 void setPoint(
unsigned short index,
const Vector3 &value);
57 const Vector3& getPoint(
unsigned short index)
const;
60 unsigned short getNumPoints(
void)
const;
81 void setOperationType(OperationType opType);
82 OperationType getOperationType()
const;
86 virtual void createVertexDeclaration()
override;
88 virtual void fillHardwareBuffers()
override;
std::vector< Vector3 > mPoints
Definition: DynamicLines.h:91
bool mDirty
Definition: DynamicLines.h:92
RenderOperation::OperationType OperationType
Definition: DynamicLines.h:41
Definition: DynamicLines.h:39
Abstract base class providing mechanisms for dynamically growing hardware buffers.
Definition: DynamicRenderable.h:39
Definition: CorePrereqs.h:362