|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CPSQuad Class ReferenceThis abstract class holds what is needed with quad particles (CPSFaceLookAt, CPSFace) e.g Index and vertex buffer and method to setup them Material, and method to setup them.
More...
#include <ps_quad.h>
Inheritance diagram for NL3D::CPSQuad:
List of all members.
Detailed Description
This abstract class holds what is needed with quad particles (CPSFaceLookAt, CPSFace) e.g Index and vertex buffer and method to setup them Material, and method to setup them.
Definition at line 44 of file ps_quad.h.
Member Enumeration Documentation
|
The number of quad to batche for each driver call.
-
Enumeration values:
-
Definition at line 154 of file ps_quad.h. |
enum NL3D::CPSQuad::VBType [protected]
|
|
|
-
Enumeration values:
-
VBCol |
|
VBTex |
|
VBTexAnimated |
|
VBTex2 |
|
VBTex2Animated |
|
Definition at line 118 of file ps_quad.h. |
Constructor & Destructor Documentation
NL3D::CPSQuad::CPSQuad |
( |
CSmartPtr< ITexture > |
tex = NULL |
) |
|
|
NL3D::CPSQuad::~CPSQuad |
( |
|
) |
[protected, virtual] |
|
|
==================================================================================.
Definition at line 209 of file ps_quad.cpp. |
Member Function Documentation
bool NL3D::CPSQuad::completeBBox |
( |
NLMISC::CAABBox & |
box |
) |
const [protected, virtual] |
|
void NL3D::CPSQuad::deleteElement |
( |
uint32 |
index |
) |
[inline, protected, virtual] |
|
virtual CPSLocated* NL3D::CPSQuad::getColorOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
uint32 NL3D::CPSQuad::getMaxNumFaces |
( |
void |
|
) |
const [virtual] |
|
|
================================================================================== choose the vertex buffex that we need.
Definition at line 146 of file ps_quad.cpp.
References NL3D::CPSMultiTexturedParticle::_AlternateOp, NL3D::CPSMultiTexturedParticle::_MainOp, NL3D::CPSMultiTexturedParticle::_TexScroll, NL3D::CPSMultiTexturedParticle::_TexScrollAlternate, NL3D::CPSMultiTexturedParticle::Decal, NL3D::CPSMultiTexturedParticle::isAlternateTextureUsed, nlassert, VBCol, VBTex, VBTex2, VBTex2Animated, VBTexAnimated, NLMISC::CVector2f::x, and NLMISC::CVector2f::y. |
virtual CPSLocated* NL3D::CPSQuad::getSizeOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
virtual CPSLocated* NL3D::CPSQuad::getTextureIndexOwner |
( |
void |
|
) |
[inline, protected, virtual] |
|
bool NL3D::CPSQuad::hasOpaqueFaces |
( |
void |
|
) |
[virtual] |
|
bool NL3D::CPSQuad::hasTransparentFaces |
( |
void |
|
) |
[virtual] |
|
void NL3D::CPSQuad::init |
( |
void |
|
) |
[protected, virtual] |
|
void NL3D::CPSQuad::initVertexBuffers |
( |
|
) |
[static] |
|
void NL3D::CPSQuad::newElement |
( |
CPSLocated * |
emitterLocated, |
|
|
uint32 |
emitterIndex |
|
) |
[inline, protected, virtual] |
|
void NL3D::CPSQuad::resize |
( |
uint32 |
capacity |
) |
[protected, virtual] |
|
void NL3D::CPSQuad::updateMatAndVbForColor |
( |
void |
|
) |
[protected, virtual] |
|
void NL3D::CPSQuad::updateMatAndVbForTexture |
( |
void |
|
) |
[protected, virtual] |
|
void NL3D::CPSQuad::updateMatBeforeRendering |
( |
IDriver * |
drv |
) |
[protected] |
|
|
calculate current color and texture coordinate before any rendering size can't be higher that quadBufSize ...
Definition at line 382 of file ps_quad.cpp.
References NL3D::CPSMultiTexturedParticle::_AlternateTexture2, NL3D::CPSColoredParticle::_ColorScheme, NL3D::CPSLocatedBindable::_Owner, NL3D::CPSTexturedParticle::_Tex, NL3D::CPSTexturedParticle::_TexGroup, NL3D::CPSMultiTexturedParticle::_TexScroll, NL3D::CPSMultiTexturedParticle::_TexScrollAlternate, NL3D::CPSMultiTexturedParticle::_Texture2, NL3D::CPSTexturedParticle::_TextureIndex, NL3D::CPSTexturedParticle::_TextureIndexScheme, NL3D::FillQuadCoords, NL3D::FillQuadCoordsLocalTime, NL3D::CPSMultiTexturedParticle::getUseLocalDate, NL3D::CPSMultiTexturedParticle::getUseLocalDateAlt, NL3D::CPSMultiTexturedParticle::isAlternateTextureUsed, nlassert, quadBufSize, stride, NLMISC::CVector2f::x, and NLMISC::CVector2f::y. |
Member Data Documentation
|
the various kind of vertex buffers we need for quads.
Definition at line 53 of file ps_quad.cpp. |
CVertexBuffer NL3D::CPSQuad::_VBPosTex1AnimCol [static, protected]
|
|
CVertexBuffer NL3D::CPSQuad::_VBPosTex1AnimColTex2 [static, protected]
|
|
CVertexBuffer NL3D::CPSQuad::_VBPosTex1AnimColTex2Anim [static, protected]
|
|
CVertexBuffer NL3D::CPSQuad::_VBPosTex1AnimTex2 [static, protected]
|
|
CVertexBuffer NL3D::CPSQuad::_VBPosTex1AnimTex2Anim [static, protected]
|
|
CVertexBuffer NL3D::CPSQuad::_VBPosTex1ColTex2 [static, protected]
|
|
CVertexBuffer NL3D::CPSQuad::_VBPosTex1ColTex2Anim [static, protected]
|
|
CVertexBuffer NL3D::CPSQuad::_VBPosTex1Tex2Anim [static, protected]
|
|
The documentation for this class was generated from the following files:
|
|