Torque3D Documentation / _generateds / ParticleRenderInst

ParticleRenderInst

Engine/source/renderInstance/renderPassManager.h

A special render instance for particles.

More...

Public Types

enum
BlendStyle {
  BlendUndefined = 0
  BlendNormal 
  BlendAdditive 
  BlendSubtractive 
  BlendPremultAlpha 
  BlendGreyscale 
  BlendStyle_COUNT 
}

Blend style for the particle system.

Public Attributes

Bounding box render transform.

The total particle count to render.

The particle texture.

bool

The combined model, camera, and projection transform.

The primitive buffer.

The soft particle fade distance in meters.

State for the particle system.

For the offscreen particle manager.

The vertex buffer.

Public Functions

Detailed Description

A special render instance for particles.

Public Types

BlendStyle

Enumerator

BlendUndefined = 0
BlendNormal
BlendAdditive
BlendSubtractive
BlendPremultAlpha
BlendGreyscale
BlendStyle_COUNT

Blend style for the particle system.

Public Attributes

const MatrixF * bbModelViewProj 

Bounding box render transform.

U8 blendStyle 
S32 count 

The total particle count to render.

GFXTextureObject * diffuseTex 

The particle texture.

bool glow 
const MatrixF * modelViewProj 

The combined model, camera, and projection transform.

GFXPrimitiveBufferHandle * primBuff 

The primitive buffer.

F32 softnessDistance 

The soft particle fade distance in meters.

ParticleSystemState systemState 

State for the particle system.

U8 targetIndex 

For the offscreen particle manager.

GFXVertexBufferHandleBase * vertBuff 

The vertex buffer.

Point3F wsPosition 

Public Functions

clear()