Home
last modified time | relevance | path

Searched refs:shape (Results 1 – 19 of 19) sorted by relevance

/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_ActivateCommand.cpp159 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 …]
Dgfx_ParticleShape.cpp42 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 …]
Dgfx_ParticleCollection.cpp357 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 …]
Dgfx_MeshRenderer.cpp97 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()
Dgfx_ParticleSet.cpp387 ParticleShape* shape in Create() argument
570 shape); in Create()
578 shape->CreateCommandCache(node); in Create()
/NW4C-2.0.3/include/nw/gfx/
Dgfx_ActivateCommand.h407 ResSeparateDataShape shape,
412 ResParticleShape shape,
425 ResSeparateDataShape shape,
430 ResParticleShape shape,
476 ResSeparateDataShape shape,
489 ResParticleShape shape,
502 ResSeparateDataShape shape,
515 ResParticleShape shape,
Dgfx_MeshRenderer.h110 ResSeparateDataShape shape,
121 ResParticleShape shape,
Dgfx_RenderQueue.h139 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()
Dgfx_ParticleCollection.h82 ParticleShape* shape);
339 ParticleShape* shape = this->m_ParticleShape; in SwapBuffer() local
348 shape->SetBufferSide(this->m_BufferSide); in SwapBuffer()
Dgfx_ParticleSet.h130 ParticleShape* shape);
/NW4C-2.0.3/sources/libraries/gfx/res/
Dgfx_ResMesh.cpp70 …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/
Dgfx_ResShape.h442 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()
Dgfx_ResGraphicsFile.h646 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/
DNW4C_SetCameraFovy.mel41 for ($shape in $shapes)
43 string $parents[] = `listRelatives -ap -pa -typ transform $shape`;
DNW4C_CreateMenu.mel141 // -ann "Set shape anim attributes of selected blendShape (transform) node"
DNW4C_SetRenderPriority.mel298 select -add $sg; // shape object & face
886 select -add $node; // shape object & face
DNW4C_SetMaterialAttr.mel536 select -add $node; // shape or face
DNW4C_ExpDialog.mel2822 is blend shape target
3350 does shape anim exist
3354 if (!size(`ls -typ blendShape`)) // check blend shape exists in scene first
DNW4C_SetAnimRange.mel2668 string $shape[] = `ls -s $list`;
2671 for ($work in $shape)