CL_PrimitivesArray Class Reference
[clanDisplay Display]

Primitives array description. More...

#include <primitives_array.h>

List of all members.

Implementation

class CL_GraphicContext
class CL_PrimitivesArrayBuilder

Public Member Functions

Construction
 CL_PrimitivesArray ()
 CL_PrimitivesArray (CL_GraphicContext &gc)
 Constructs a PrimitivesArray.
 ~CL_PrimitivesArray ()
Attributes
bool is_null () const
 Returns true if the primitives array was created without specifying a graphic context.
Operations
void set_attribute (int index, const CL_Vec1ub &value)
 Set attribute.
void set_attribute (int index, const CL_Vec1b &value)
 Set attribute.
void set_attribute (int index, const CL_Vec1us &value)
 Set attribute.
void set_attribute (int index, const CL_Vec1s &value)
 Set attribute.
void set_attribute (int index, const CL_Vec1ui &value)
 Set attribute.
void set_attribute (int index, const CL_Vec1i &value)
 Set attribute.
void set_attribute (int index, const CL_Vec1f &value)
 Set attribute.
void set_attribute (int index, const CL_Vec2ub &value)
 Set attribute.
void set_attribute (int index, const CL_Vec2b &value)
 Set attribute.
void set_attribute (int index, const CL_Vec2us &value)
 Set attribute.
void set_attribute (int index, const CL_Vec2s &value)
 Set attribute.
void set_attribute (int index, const CL_Vec2ui &value)
 Set attribute.
void set_attribute (int index, const CL_Vec2i &value)
 Set attribute.
void set_attribute (int index, const CL_Vec2f &value)
 Set attribute.
void set_attribute (int index, const CL_Vec3ub &value)
 Set attribute.
void set_attribute (int index, const CL_Vec3b &value)
 Set attribute.
void set_attribute (int index, const CL_Vec3us &value)
 Set attribute.
void set_attribute (int index, const CL_Vec3s &value)
 Set attribute.
void set_attribute (int index, const CL_Vec3ui &value)
 Set attribute.
void set_attribute (int index, const CL_Vec3i &value)
 Set attribute.
void set_attribute (int index, const CL_Vec3f &value)
 Set attribute.
void set_attribute (int index, const CL_Vec4ub &value, bool normalize=false)
 Set attribute.
void set_attribute (int index, const CL_Vec4b &value, bool normalize=false)
 Set attribute.
void set_attribute (int index, const CL_Vec4us &value, bool normalize=false)
 Set attribute.
void set_attribute (int index, const CL_Vec4s &value, bool normalize=false)
 Set attribute.
void set_attribute (int index, const CL_Vec4ui &value, bool normalize=false)
 Set attribute.
void set_attribute (int index, const CL_Vec4i &value, bool normalize=false)
 Set attribute.
void set_attribute (int index, const CL_Vec4f &value)
 Set attribute.
void set_attribute (int index, const CL_Colorf &value)
 Set attribute.
void set_attributes (int index, CL_VertexArrayBuffer &buffer, int size, CL_VertexAttributeDataType type, void *offset=0, int stride=0, bool normalize=false)
 Set attributes.
void set_attributes (int index, const CL_Vec1ub *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec1b *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec1us *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec1s *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec1ui *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec1i *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec1f *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec2ub *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec2b *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec2us *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec2s *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec2ui *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec2i *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec2f *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec3ub *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec3b *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec3us *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec3s *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec3ui *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec3i *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec3f *const values, int stride=0)
 Set attributes.
void set_attributes (int index, const CL_Vec4ub *const values, int stride=0, bool normalize=false)
 Set attributes.
void set_attributes (int index, const CL_Vec4b *const values, int stride=0, bool normalize=false)
 Set attributes.
void set_attributes (int index, const CL_Vec4us *const values, int stride=0, bool normalize=false)
 Set attributes.
void set_attributes (int index, const CL_Vec4s *const values, int stride=0, bool normalize=false)
 Set attributes.
void set_attributes (int index, const CL_Vec4ui *const values, int stride=0, bool normalize=false)
 Set attributes.
void set_attributes (int index, const CL_Vec4i *const values, int stride=0, bool normalize=false)
 Set attributes.
void set_attributes (int index, const CL_Vec4f *const values, int stride=0)
 Set attributes.


Detailed Description

Primitives array description.


Constructor & Destructor Documentation

CL_PrimitivesArray::CL_PrimitivesArray  ) 
 

CL_PrimitivesArray::CL_PrimitivesArray CL_GraphicContext gc  ) 
 

Constructs a PrimitivesArray.

Parameters:
gc = Graphic Context

CL_PrimitivesArray::~CL_PrimitivesArray  ) 
 


Member Function Documentation

bool CL_PrimitivesArray::is_null  )  const
 

Returns true if the primitives array was created without specifying a graphic context.

void CL_PrimitivesArray::set_attribute int  index,
const CL_Colorf value
 

Set attribute.

Parameters:
index = value
value = Colorf

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec4f value
 

Set attribute.

Parameters:
index = value
value = Vec4f

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec4i value,
bool  normalize = false
 

Set attribute.

Parameters:
index = value
value = Vec4i
normalize = bool

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec4ui value,
bool  normalize = false
 

Set attribute.

Parameters:
index = value
value = Vec4ui
normalize = bool

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec4s value,
bool  normalize = false
 

Set attribute.

Parameters:
index = value
value = Vec4s
normalize = bool

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec4us value,
bool  normalize = false
 

Set attribute.

Parameters:
index = value
value = Vec4us
normalize = bool

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec4b value,
bool  normalize = false
 

Set attribute.

Parameters:
index = value
value = Vec4b
normalize = bool

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec4ub value,
bool  normalize = false
 

Set attribute.

Parameters:
index = value
value = Vec4ub
normalize = bool

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec3f value
 

Set attribute.

Parameters:
index = value
value = Vec3f

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec3i value
 

Set attribute.

Parameters:
index = value
value = Vec3i

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec3ui value
 

Set attribute.

Parameters:
index = value
value = Vec3ui

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec3s value
 

Set attribute.

Parameters:
index = value
value = Vec3s

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec3us value
 

Set attribute.

Parameters:
index = value
value = Vec3us

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec3b value
 

Set attribute.

Parameters:
index = value
value = Vec3b

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec3ub value
 

Set attribute.

Parameters:
index = value
value = Vec3ub

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec2f value
 

Set attribute.

Parameters:
index = value
value = Vec2f

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec2i value
 

Set attribute.

Parameters:
index = value
value = Vec2i

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec2ui value
 

Set attribute.

Parameters:
index = value
value = Vec2ui

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec2s value
 

Set attribute.

Parameters:
index = value
value = Vec2s

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec2us value
 

Set attribute.

Parameters:
index = value
value = Vec2us

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec2b value
 

Set attribute.

Parameters:
index = value
value = Vec2b

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec2ub value
 

Set attribute.

Parameters:
index = value
value = Vec2ub

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec1f value
 

Set attribute.

Parameters:
index = value
value = Vec1f

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec1i value
 

Set attribute.

Parameters:
index = value
value = Vec1i

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec1ui value
 

Set attribute.

Parameters:
index = value
value = Vec1ui

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec1s value
 

Set attribute.

Parameters:
index = value
value = Vec1s

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec1us value
 

Set attribute.

Parameters:
index = value
value = Vec1us

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec1b value
 

Set attribute.

Parameters:
index = value
value = Vec1b

void CL_PrimitivesArray::set_attribute int  index,
const CL_Vec1ub value
 

Set attribute.

Parameters:
index = value
value = Vec1ub

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec4f *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec4f
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec4i *const   values,
int  stride = 0,
bool  normalize = false
 

Set attributes.

Parameters:
index = value
const = Vec4i
stride = value
normalize = bool

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec4ui *const   values,
int  stride = 0,
bool  normalize = false
 

Set attributes.

Parameters:
index = value
const = Vec4ui
stride = value
normalize = bool

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec4s *const   values,
int  stride = 0,
bool  normalize = false
 

Set attributes.

Parameters:
index = value
const = Vec4s
stride = value
normalize = bool

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec4us *const   values,
int  stride = 0,
bool  normalize = false
 

Set attributes.

Parameters:
index = value
const = Vec4us
stride = value
normalize = bool

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec4b *const   values,
int  stride = 0,
bool  normalize = false
 

Set attributes.

Parameters:
index = value
const = Vec4b
stride = value
normalize = bool

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec4ub *const   values,
int  stride = 0,
bool  normalize = false
 

Set attributes.

Parameters:
index = value
const = Vec4ub
stride = value
normalize = bool

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec3f *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec3f
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec3i *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec3i
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec3ui *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec3ui
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec3s *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec3s
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec3us *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec3us
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec3b *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec3b
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec3ub *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec3ub
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec2f *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec2f
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec2i *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec2i
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec2ui *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec2ui
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec2s *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec2s
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec2us *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec2us
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec2b *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec2b
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec2ub *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec2ub
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec1f *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec1f
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec1i *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec1i
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec1ui *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec1ui
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec1s *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec1s
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec1us *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec1us
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec1b *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec1b
stride = value

void CL_PrimitivesArray::set_attributes int  index,
const CL_Vec1ub *const   values,
int  stride = 0
 

Set attributes.

Parameters:
index = value
const = Vec1ub
stride = value

void CL_PrimitivesArray::set_attributes int  index,
CL_VertexArrayBuffer buffer,
int  size,
CL_VertexAttributeDataType  type,
void *  offset = 0,
int  stride = 0,
bool  normalize = false
 

Set attributes.

Parameters:
index = value
buffer = Vertex Array Buffer
size = value
type = Vertex Attribute Data Type
offset = void
stride = value
normalize = bool


Friends And Related Function Documentation

friend class CL_GraphicContext [friend]
 

friend class CL_PrimitivesArrayBuilder [friend]
 


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:39 2009 for ClanLib by  doxygen 1.4.6