Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ONE::fx::TexturedRender Class Reference

Inheritance diagram for ONE::fx::TexturedRender:

Inheritance graph
[legend]
List of all members.

Detailed Description

common base class for ParticleEmitter render policies that use a (potentially blended) texture

Author:
Daniel Seibert


Public Types

typedef G3D::RenderDevice::BlendFunc BFunc
typedef std::pair< BFunc,
BFunc
BlendMode
typedef G3D::RenderDevice * Renderer
typedef std::pair< G3D::Vector2,
G3D::Vector2 > 
TexCoords

Public Member Functions

BlendMode getBlendMode () const
G3D::TextureRef getTexture () const
TexCoords getTextureCoords () const
void setBlendMode (const BlendMode &)
void setTexture (const G3D::TextureRef &)
void setTextureCoords (const TexCoords &)
 TexturedRender ()

Static Public Member Functions

static void beginRender (Renderer &)
static void endRender (Renderer &rd)

Static Public Attributes

static const BlendMode BM_GLOW
 predefined BlendMode for glowing particles
static const BlendMode BM_NORMAL
 predefined BlendMode for smoky particles
static const BlendMode BM_OFF
 predefined BlendMode for no alpha blending


Member Typedef Documentation

typedef G3D::RenderDevice::BlendFunc ONE::fx::TexturedRender::BFunc
 

typedef std::pair<BFunc,BFunc> ONE::fx::TexturedRender::BlendMode
 

typedef G3D::RenderDevice* ONE::fx::TexturedRender::Renderer
 

Reimplemented in ONE::fx::ParticleEmitter< DustEmitter, MAX_P, DustParticle< DustEmitter >, Emission, Init, Action, BillboardRenderIM, Base >, ONE::fx::ParticleEmitter< Heir, MAX_P, P, E, I, A, BillboardRenderIM, B >, and ONE::fx::ParticleEmitter< SparkEmitter, MAX_P, SparkParticle< SparkEmitter >, Emission, Init, Action, BillboardRenderIM, Base >.

typedef std::pair<G3D::Vector2,G3D::Vector2> ONE::fx::TexturedRender::TexCoords
 


Constructor & Destructor Documentation

ONE::fx::TexturedRender::TexturedRender  ) 
 


Member Function Documentation

void ONE::fx::TexturedRender::beginRender Renderer  )  [inline, static]
 

void ONE::fx::TexturedRender::endRender Renderer rd  )  [inline, static]
 

TexturedRender::BlendMode ONE::fx::TexturedRender::getBlendMode  )  const [inline]
 

G3D::TextureRef ONE::fx::TexturedRender::getTexture  )  const [inline]
 

Reimplemented in ONE::fx::TexturedEmitter< Heir, MAX_P, P, E, I, A, B >.

TexturedRender::TexCoords ONE::fx::TexturedRender::getTextureCoords  )  const [inline]
 

void ONE::fx::TexturedRender::setBlendMode const BlendMode  )  [inline]
 

void ONE::fx::TexturedRender::setTexture const G3D::TextureRef  )  [inline]
 

void ONE::fx::TexturedRender::setTextureCoords const TexCoords  )  [inline]
 


Member Data Documentation

const BlendMode ONE::fx::TexturedRender::BM_GLOW [static]
 

predefined BlendMode for glowing particles

const BlendMode ONE::fx::TexturedRender::BM_NORMAL [static]
 

predefined BlendMode for smoky particles

const BlendMode ONE::fx::TexturedRender::BM_OFF [static]
 

predefined BlendMode for no alpha blending


Generated on Wed Sep 7 19:03:14 2005 for ONEngine by  doxygen 1.4.3