| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_ActivateCommand.cpp | 159 TShape shape, in CalcSetupActivateVertexAttributeCommandSize_() argument 165 s32 vtxAttrNum = shape.GetVertexAttributesCount(); in CalcSetupActivateVertexAttributeCommandSize_() 170 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in CalcSetupActivateVertexAttributeCommandSize_() 194 TShape shape, in CalcSetupDeactivateVertexAttributeCommandSize_() argument 201 s32 vtxAttrNum = shape.GetVertexAttributesCount(); in CalcSetupDeactivateVertexAttributeCommandSize_() 207 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in CalcSetupDeactivateVertexAttributeCommandSize_() 270 TShape shape, in SetupActivateVertexAttributeCommand_() argument 296 shape.ref().m_BaseAddress = baseAddr; in SetupActivateVertexAttributeCommand_() 298 s32 vtxAttrNum = shape.GetVertexAttributesCount(); in SetupActivateVertexAttributeCommand_() 336 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in SetupActivateVertexAttributeCommand_() [all …]
|
| D | gfx_ParticleShape.cpp | 42 ParticleShape* shape, in SetupParticleVertexAttributeCommand() argument 63 s32 vtxAttrNum = shape->GetVertexAttributesCount(); in SetupParticleVertexAttributeCommand() 65 u32* command = reinterpret_cast<u32*>(shape->m_CommandCache[bufferSide]); in SetupParticleVertexAttributeCommand() 99 for (s32 i = 0; i < shape->GetVertexAttributesCount(); ++i) in SetupParticleVertexAttributeCommand() 101 if (shape->IsVertexStream(i)) in SetupParticleVertexAttributeCommand() 103 s32 usage = shape->GetVertexAttributeUsage(i); in SetupParticleVertexAttributeCommand() 108 u32 format = shape->GetVertexAttributeFormatType(i); in SetupParticleVertexAttributeCommand() 109 u32 dimension = shape->GetVertexAttributeDimension(i); in SetupParticleVertexAttributeCommand() 114 u8* streamPtr = shape->GetVertexStreamPtr(i, bufferSide); in SetupParticleVertexAttributeCommand() 118 shape->SetVertexAttributeCommandPtr(i, bufferSide, &command[commandIndex]); in SetupParticleVertexAttributeCommand() [all …]
|
| D | gfx_ParticleCollection.cpp | 357 ParticleShape* shape in Create() argument 362 NW_NULL_ASSERT(shape); in Create() 436 shape->AddVertexParamSize(GL_FLOAT, 1, collectionMemorySize); in Create() 444 shape->AddVertexParamSize(GL_FLOAT, 3, collectionMemorySize); in Create() 449 shape->AddVertexParamSize(GL_FLOAT, 2, collectionMemorySize); in Create() 471 shape->AddVertexStreamSize(GL_FLOAT, 1, capacity, deviceMemorySize); in Create() 479 shape->AddVertexStreamSize(GL_FLOAT, 3, capacity, deviceMemorySize); in Create() 484 shape->AddVertexStreamSize(GL_FLOAT, 2, capacity, deviceMemorySize); in Create() 505 shape->AddVertexParamSize(GL_FLOAT, 1, collectionMemorySize); in Create() 509 shape->AddVertexParamSize(GL_FLOAT, 1, collectionMemorySize); in Create() [all …]
|
| D | gfx_MeshRenderer.cpp | 97 ResShape shape = model->GetResModel().GetShapes(mesh.GetShapeIndex()); in RenderMesh() local 99 switch ( shape.ref().typeInfo ) in RenderMesh() 112 ResStaticCast<ResSeparateDataShape>(shape), in RenderMesh() 139 ResStaticCast<ResParticleShape>(shape), in RenderMesh() 154 ResSeparateDataShape shape, in RenderSeparateDataShape() argument 159 if (!shape.IsValid()) { return; } in RenderSeparateDataShape() 161 …internal::NWSetVertexUniform3fv( VERTEX_SHADER_UNIFORM_POSOFFS_INDEX, 1, shape.GetPositionOffset()… in RenderSeparateDataShape() 177 ResPrimitiveSetArray primitiveSets = shape.GetPrimitiveSets(); in RenderSeparateDataShape()
|
| D | gfx_ParticleSet.cpp | 387 ParticleShape* shape in Create() argument 570 shape); in Create() 578 shape->CreateCommandCache(node); in Create()
|
| /NW4C-2.0.3/include/nw/gfx/ |
| D | gfx_ActivateCommand.h | 407 ResSeparateDataShape shape, 412 ResParticleShape shape, 425 ResSeparateDataShape shape, 430 ResParticleShape shape, 476 ResSeparateDataShape shape, 489 ResParticleShape shape, 502 ResSeparateDataShape shape, 515 ResParticleShape shape,
|
| D | gfx_MeshRenderer.h | 110 ResSeparateDataShape shape, 121 ResParticleShape shape,
|
| D | gfx_RenderQueue.h | 139 ResShape shape = resModel.GetShapes(mesh.GetShapeIndex()); in operator() local 140 NW_ASSERT(shape.IsValid()); in operator() 143 shape.GetCenterPosition(), model->WorldMatrix(), camera); in operator() 176 ResShape shape = resModel.GetShapes(mesh.GetShapeIndex()); in operator() local 177 NW_ASSERT(shape.IsValid()); in operator() 180 if (shape.GetPrimitiveSetsCount() == 1) in operator() 182 ResPrimitiveSet primitiveSet = shape.GetPrimitiveSets(0); in operator() 186 shape.GetCenterPosition(), *pose.GetMatrix(boneIndex), camera); in operator() 191 shape.GetCenterPosition(), model->WorldMatrix(), camera); in operator()
|
| D | gfx_ParticleCollection.h | 82 ParticleShape* shape); 339 ParticleShape* shape = this->m_ParticleShape; in SwapBuffer() local 348 shape->SetBufferSide(this->m_BufferSide); in SwapBuffer()
|
| D | gfx_ParticleSet.h | 130 ParticleShape* shape);
|
| /NW4C-2.0.3/sources/libraries/gfx/res/ |
| D | gfx_ResMesh.cpp | 70 …ResSeparateDataShape_SetupVertexIrScale( ResMesh mesh, ResSeparateDataShape shape, ResShaderProgra… in ResSeparateDataShape_SetupVertexIrScale() argument 83 … internal::ResVertexAttributeIterator iter = internal::ResVertexAttributeIterator::Begin( shape ); in ResSeparateDataShape_SetupVertexIrScale() 85 ResVertexAttributeArray::iterator end = shape.GetVertexAttributes().end(); in ResSeparateDataShape_SetupVertexIrScale() 149 ResShape shape = owner.GetShapes(this->GetShapeIndex()); in Setup() local 160 switch ( shape.GetTypeInfo() ) in Setup() 164 ResSeparateDataShape separateShape = ResStaticCast<ResSeparateDataShape>( shape ); in Setup()
|
| /NW4C-2.0.3/include/nw/gfx/res/ |
| D | gfx_ResShape.h | 442 static ResVertexAttributeIterator Begin(ResSeparateDataShape shape) in Begin() argument 444 return ResVertexAttributeIterator(shape); in Begin() 569 explicit ResVertexAttributeIterator(ResSeparateDataShape shape) in ResVertexAttributeIterator() argument 570 : m_Shape( shape ), in ResVertexAttributeIterator() 575 NW_ASSERT( shape.IsValid() ); in ResVertexAttributeIterator() 577 ResVertexAttribute attribute = shape.GetVertexAttributes(0); in ResVertexAttributeIterator()
|
| D | gfx_ResGraphicsFile.h | 646 for (ResShapeArray::iterator shape = (*model).GetShapes().begin(); in ForeachIndexStream() local 647 shape != shapesEnd; ++shape) in ForeachIndexStream() 649 ResPrimitiveSetArray::iterator primitiveSetsEnd = (*shape).GetPrimitiveSets().end(); in ForeachIndexStream() 650 … for (ResPrimitiveSetArray::iterator primitiveSet = (*shape).GetPrimitiveSets().begin(); in ForeachIndexStream() 699 for (ResShapeArray::iterator shape = (*model).GetShapes().begin(); in ForeachVertexStream() local 700 shape != shapesEnd; ++shape) in ForeachVertexStream() 702 … ResSeparateDataShape resSeparateDataShape = ResDynamicCast<ResSeparateDataShape>(*shape); in ForeachVertexStream()
|
| /NW4C-2.0.3/tools/DccPlugin/Maya/scripts/ |
| D | NW4C_SetCameraFovy.mel | 41 for ($shape in $shapes) 43 string $parents[] = `listRelatives -ap -pa -typ transform $shape`;
|
| D | NW4C_CreateMenu.mel | 141 // -ann "Set shape anim attributes of selected blendShape (transform) node"
|
| D | NW4C_SetRenderPriority.mel | 298 select -add $sg; // shape object & face 886 select -add $node; // shape object & face
|
| D | NW4C_SetMaterialAttr.mel | 536 select -add $node; // shape or face
|
| D | NW4C_ExpDialog.mel | 2822 is blend shape target 3350 does shape anim exist 3354 if (!size(`ls -typ blendShape`)) // check blend shape exists in scene first
|
| D | NW4C_SetAnimRange.mel | 2668 string $shape[] = `ls -s $list`; 2671 for ($work in $shape)
|