| /NW4C-1.2.23/sources/libraries/gfx/ |
| D | gfx_ParticleShape.cpp | 40 ParticleShape* shape, in SetupParticleVertexAttributeCommand() argument 61 s32 vtxAttrNum = shape->GetVertexAttributesCount(); in SetupParticleVertexAttributeCommand() 63 u32* command = reinterpret_cast<u32*>(shape->m_CommandCache[bufferSide]); in SetupParticleVertexAttributeCommand() 97 for (s32 i = 0; i < shape->GetVertexAttributesCount(); ++i) in SetupParticleVertexAttributeCommand() 99 if (shape->IsVertexStream(i)) in SetupParticleVertexAttributeCommand() 101 s32 usage = shape->GetVertexAttributeUsage(i); in SetupParticleVertexAttributeCommand() 106 u32 format = shape->GetVertexAttributeFormatType(i); in SetupParticleVertexAttributeCommand() 107 u32 dimension = shape->GetVertexAttributeDimension(i); in SetupParticleVertexAttributeCommand() 112 u8* streamPtr = shape->GetVertexStreamPtr(i, bufferSide); in SetupParticleVertexAttributeCommand() 116 shape->SetVertexAttributeCommandPtr(i, bufferSide, &command[commandIndex]); in SetupParticleVertexAttributeCommand() [all …]
|
| D | gfx_ActivateCommand.cpp | 160 TShape shape, in SetupActivateVertexAttributeCommand_() argument 186 shape.ref().m_BaseAddress = baseAddr; in SetupActivateVertexAttributeCommand_() 188 s32 vtxAttrNum = shape.GetVertexAttributesCount(); in SetupActivateVertexAttributeCommand_() 226 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in SetupActivateVertexAttributeCommand_() 318 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in SetupActivateVertexAttributeCommand_() 399 TShape shape, in SetupDeactivateVertexAttributeCommand_() argument 418 s32 vtxAttrNum = shape.GetVertexAttributesCount(); in SetupDeactivateVertexAttributeCommand_() 429 ResVertexAttribute attribute = shape.GetVertexAttributes( i ); in SetupDeactivateVertexAttributeCommand_() 498 ResSeparateDataShape shape, in SetupVertexAttributeCommand() argument 502 SetupActivateVertexAttributeCommand_( shape, shaderProgramDesc ); in SetupVertexAttributeCommand() [all …]
|
| D | gfx_ParticleCollection.cpp | 358 ParticleShape* shape in Create() argument 363 NW_NULL_ASSERT(shape); in Create() 437 shape->AddVertexParamSize(GL_FLOAT, 1, collectionMemorySize); in Create() 445 shape->AddVertexParamSize(GL_FLOAT, 3, collectionMemorySize); in Create() 450 shape->AddVertexParamSize(GL_FLOAT, 2, collectionMemorySize); in Create() 472 shape->AddVertexStreamSize(GL_FLOAT, 1, capacity, deviceMemorySize); in Create() 480 shape->AddVertexStreamSize(GL_FLOAT, 3, capacity, deviceMemorySize); in Create() 485 shape->AddVertexStreamSize(GL_FLOAT, 2, capacity, deviceMemorySize); in Create() 506 shape->AddVertexParamSize(GL_FLOAT, 1, collectionMemorySize); in Create() 510 shape->AddVertexParamSize(GL_FLOAT, 1, collectionMemorySize); in Create() [all …]
|
| D | gfx_MeshRenderer.cpp | 102 ResShape shape = model->GetResModel().GetShapes(mesh.GetShapeIndex()); in RenderMesh() local 104 switch ( shape.ref().typeInfo ) in RenderMesh() 122 ResStaticCast<ResSeparateDataShape>(shape), in RenderMesh() 146 ResStaticCast<ResParticleShape>(shape), in RenderMesh() 161 ResSeparateDataShape shape, in RenderSeparateDataShape() argument 166 if (!shape.IsValid()) { return; } in RenderSeparateDataShape() 170 …internal::NWSetVertexUniform3fv( VERTEX_SHADER_UNIFORM_POSOFFS_INDEX, 1, shape.GetPositionOffset()… in RenderSeparateDataShape() 174 ResPrimitiveSetArray primitiveSets = shape.GetPrimitiveSets(); in RenderSeparateDataShape()
|
| D | gfx_ParticleSet.cpp | 385 ParticleShape* shape in Create() argument 557 shape); in Create() 565 shape->CreateCommandCache(node); in Create()
|
| /NW4C-1.2.23/sources/libraries/gfx/res/ |
| D | gfx_ResMesh.cpp | 68 …ResSeparateDataShape_SetupVertexIrScale( ResMesh mesh, ResSeparateDataShape shape, ResShaderProgra… in ResSeparateDataShape_SetupVertexIrScale() argument 81 … internal::ResVertexAttributeIterator iter = internal::ResVertexAttributeIterator::Begin( shape ); in ResSeparateDataShape_SetupVertexIrScale() 83 ResVertexAttributeArray::iterator end = shape.GetVertexAttributes().end(); in ResSeparateDataShape_SetupVertexIrScale() 151 ResShape shape = owner.GetShapes(this->GetShapeIndex()); in Setup() local 162 switch ( shape.GetTypeInfo() ) in Setup() 166 ResSeparateDataShape separateShape = ResStaticCast<ResSeparateDataShape>( shape ); in Setup()
|
| /NW4C-1.2.23/include/nw/gfx/res/ |
| D | gfx_ResShape.h | 407 static ResVertexAttributeIterator Begin(ResSeparateDataShape shape) in Begin() argument 409 return ResVertexAttributeIterator(shape); in Begin() 534 explicit ResVertexAttributeIterator(ResSeparateDataShape shape) in ResVertexAttributeIterator() argument 535 : m_Shape( shape ), in ResVertexAttributeIterator() 540 NW_ASSERT( shape.IsValid() ); in ResVertexAttributeIterator() 542 ResVertexAttribute attribute = shape.GetVertexAttributes(0); in ResVertexAttributeIterator()
|
| D | gfx_ResGraphicsFile.h | 638 for (ResShapeArray::iterator shape = (*model).GetShapes().begin(); in ForeachIndexStream() local 639 shape != shapesEnd; ++shape) in ForeachIndexStream() 641 ResPrimitiveSetArray::iterator primitiveSetsEnd = (*shape).GetPrimitiveSets().end(); in ForeachIndexStream() 642 … for (ResPrimitiveSetArray::iterator primitiveSet = (*shape).GetPrimitiveSets().begin(); in ForeachIndexStream() 691 for (ResShapeArray::iterator shape = (*model).GetShapes().begin(); in ForeachVertexStream() local 692 shape != shapesEnd; ++shape) in ForeachVertexStream() 694 … ResSeparateDataShape resSeparateDataShape = ResDynamicCast<ResSeparateDataShape>(*shape); in ForeachVertexStream()
|
| /NW4C-1.2.23/include/nw/gfx/ |
| D | gfx_MeshRenderer.h | 108 ResSeparateDataShape shape, 119 ResParticleShape shape,
|
| D | gfx_RenderQueue.h | 137 ResShape shape = resModel.GetShapes(mesh.GetShapeIndex()); in operator() local 138 NW_ASSERT(shape.IsValid()); in operator() 141 shape.GetCenterPosition(), model->WorldMatrix(), camera); in operator() 174 ResShape shape = resModel.GetShapes(mesh.GetShapeIndex()); in operator() local 175 NW_ASSERT(shape.IsValid()); in operator() 178 if (shape.GetPrimitiveSetsCount() == 1) in operator() 180 ResPrimitiveSet primitiveSet = shape.GetPrimitiveSets(0); in operator() 184 shape.GetCenterPosition(), *pose.GetMatrix(boneIndex), camera); in operator() 189 shape.GetCenterPosition(), model->WorldMatrix(), camera); in operator()
|
| D | gfx_ActivateCommand.h | 400 ResSeparateDataShape shape, 404 ResParticleShape shape, 414 ResSeparateDataShape shape, 418 ResParticleShape shape,
|
| D | gfx_ParticleCollection.h | 80 ParticleShape* shape); 316 ParticleShape* shape = this->m_ParticleShape; in SwapBuffer() local 325 shape->SetBufferSide(this->m_BufferSide); in SwapBuffer()
|
| D | gfx_ParticleSet.h | 126 ParticleShape* shape);
|
| /NW4C-1.2.23/tools/DccPlugin/Maya/scripts/ |
| D | NW4C_SetCameraFovy.mel | 42 for ($shape in $shapes) 44 string $parents[] = `listRelatives -ap -pa -typ transform $shape`;
|
| D | NW4C_CreateMenu.mel | 136 // -ann "Set shape anim attributes of selected blendShape (transform) node"
|
| D | NW4C_SetRenderPriority.mel | 299 select -add $sg; // shape object & face 887 select -add $node; // shape object & face
|
| D | NW4C_SetMaterialAttr.mel | 537 select -add $node; // shape or face
|
| D | NW4C_ExpDialog.mel | 2707 is blend shape target 3235 does shape anim exist 3239 if (!size(`ls -typ blendShape`)) // check blend shape exists in scene first
|
| D | NW4C_SetAnimRange.mel | 2641 string $shape[] = `ls -s $list`; 2644 for ($work in $shape)
|