SPK::IRR Namespace Reference

the namespace for Irrlicht dependent SPARK code More...

Classes

class  IRRBuffer
 A buffer to store particle mesh data to be rendered with Irrlicht. More...
class  IRRBufferCreator
 A buffer creator to create IRRBuffers. More...
class  IRRLineRenderer
 A Renderer drawing particles as lines with Irrlicht. More...
class  IRRPointRenderer
 A Renderer drawing particles as points with Irrlicht. More...
class  IRRQuadRenderer
 A Renderer drawing particles as quads with Irrlicht. More...
class  IRRRenderer
 The base renderer for all Irrlicht renderers. More...
class  IRRSystem
 A particle system adapted to Irrlicht. More...

Enumerations

enum  E_IRRSPK_INDEXMODE {
  EII_16BITS = irr::video::EIT_16BIT,
  EII_32BITS = irr::video::EIT_32BIT,
  EII_AUTO
}
 

Constant defining the way Irrlicht index buffer are stored.

More...

Functions

irr::core::vector3df spk2irr (const Vector3D &v)
 Converts a SPARK Vector3D to an Irrlicht vector3df.
Vector3D irr2spk (const irr::core::vector3df &v)
 Converts an Irrlicht vector3df to a SPARK Vector3D.
irr::video::SColor spk2irr (float a, float r, float g, float b)
 Gets an Irrlicht SColor from rgba values.

Detailed Description

the namespace for Irrlicht dependent SPARK code

Since:
1.04.00

Enumeration Type Documentation

Constant defining the way Irrlicht index buffer are stored.

Since:
1.04.00
Enumerator:
EII_16BITS 

Always use 16bits indices. Any attempt to create a buffer with more particles will fail

EII_32BITS 

Try to always use 32bits indices. If not available (old graphic cards), setting this indexmode will result in an undefined behavior

EII_AUTO 

Choose the best index mode according to the group size

Definition at line 39 of file SPK_IRRBuffer.h.


Function Documentation

Vector3D SPK::IRR::irr2spk ( const irr::core::vector3df &  v  ) 

Converts an Irrlicht vector3df to a SPARK Vector3D.

Parameters:
v : the vector3df to convert
Returns:
the SPARK Vector3D

Definition at line 70 of file SPK_IRR_DEF.h.

irr::video::SColor SPK::IRR::spk2irr ( float  a,
float  r,
float  g,
float  b 
)

Gets an Irrlicht SColor from rgba values.

Parameters:
a : the alpha value
r : the red value
g : the green value
b : the blue value
Returns:
the Irrlicht SColor

Definition at line 83 of file SPK_IRR_DEF.h.

irr::core::vector3df SPK::IRR::spk2irr ( const Vector3D &  v  ) 

Converts a SPARK Vector3D to an Irrlicht vector3df.

Parameters:
v : the Vector3D to convert
Returns:
the Irrlicht vector3df

Definition at line 60 of file SPK_IRR_DEF.h.


Generated on Wed Apr 27 21:09:27 2011 for SPARK Particle Engine by  doxygen 1.6.1