|
My Project
|
Public Member Functions | |
| bool | init (CParaXModel *m, SceneState *pSceneState) |
| for fixed function pipeline More... | |
| void | deinit () |
| bool | init_FX (CParaXModel *m, SceneState *pSceneState, CParameterBlock *pMaterialParams=NULL) |
| for programmable pipeline More... | |
| void | deinit_FX (SceneState *pSceneState, CParameterBlock *pMaterialParams=NULL) |
| bool | init_bmax_FX (CParaXModel *m, SceneState *pSceneState, CParameterBlock *pMaterialParams=NULL) |
| for programmable pipeline | |
| void | deinit_bmax_FX (SceneState *pSceneState, CParameterBlock *pMaterialParams=NULL) |
| bool | IsAlphaBlended () |
| for deferred shading, we will render alpha blended blocks after final effect. More... | |
| int | GetPhysicsGroup () |
| get the physics group. More... | |
| bool | hasPhysics () |
| bool | operator< (const ModelRenderPass &m) const |
| bool | operator== (const ModelRenderPass &m) const |
| void | SetStartIndex (int32 nIndex) |
| int32 | GetStartIndex () |
| int32 | GetVertexStart (CParaXModel *m) |
| int32 | GetCategoryId () |
| used in some shader parameter | |
| void | SetCategoryId (int32 nCategoryID) |
Public Attributes | |
| uint16 | indexStart |
| Fix LiXizhi 2010.1.14. More... | |
| uint16 | indexCount |
| union { | |
| struct { | |
| uint16 vertexStart | |
| uint16 vertexEnd | |
| } | |
| int32 m_nIndexStart | |
| if indexStart is 0xffff, then m_nIndexStart stores the index offset in 32 bits. More... | |
| }; | |
| int32 | tex |
| union { | |
| float m_fStripLength | |
| float m_fCategoryID | |
| float m_fReserved0 | |
| }; | |
| int16 | texanim |
| int16 | color |
| int16 | opacity |
| int16 | blendmode |
| int32 | order |
| int32 | geoset |
| bool | usetex2: 1 |
| bool | useenvmap: 1 |
| bool | cull: 1 |
| bool | trans: 1 |
| bool | unlit: 1 |
| bool | nozwrite: 1 |
| bool | swrap: 1 |
| bool | twrap: 1 |
| bool | force_local_tranparency: 1 |
| bool | skinningAni: 1 |
| bool | is_rigid_body: 1 |
| bool | disable_physics: 1 |
| bool | force_physics: 1 |
| bool | has_category_id: 1 |
| DWORD | __pad0__: 0 |
| int ParaEngine::ModelRenderPass::GetPhysicsGroup | ( | ) |
get the physics group.
| bool ModelRenderPass::init | ( | CParaXModel * | m, |
| SceneState * | pSceneState | ||
| ) |
for fixed function pipeline
Set the texture
| bool ModelRenderPass::init_FX | ( | CParaXModel * | m, |
| SceneState * | pSceneState, | ||
| CParameterBlock * | pMaterialParams = NULL |
||
| ) |
for programmable pipeline
Set the texture
Set the texture
| bool ParaEngine::ModelRenderPass::IsAlphaBlended | ( | ) |
for deferred shading, we will render alpha blended blocks after final effect.
| uint16 ParaEngine::ModelRenderPass::indexStart |
Fix LiXizhi 2010.1.14.
we may run out of 65535 vertices. so if indexStart is 0xffff, then we will use m_nIndexStart instead
| int32 ParaEngine::ModelRenderPass::m_nIndexStart |
if indexStart is 0xffff, then m_nIndexStart stores the index offset in 32 bits.
1.8.12