Home
last modified time | relevance | path

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

/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_ParticleShape.cpp40 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 …]
Dgfx_ActivateCommand.cpp160 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 …]
Dgfx_ParticleCollection.cpp358 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 …]
Dgfx_MeshRenderer.cpp102 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()
Dgfx_ParticleSet.cpp385 ParticleShape* shape in Create() argument
557 shape); in Create()
565 shape->CreateCommandCache(node); in Create()
/NW4C-1.2.23/sources/libraries/gfx/res/
Dgfx_ResMesh.cpp68 …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/
Dgfx_ResShape.h407 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()
Dgfx_ResGraphicsFile.h638 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/
Dgfx_MeshRenderer.h108 ResSeparateDataShape shape,
119 ResParticleShape shape,
Dgfx_RenderQueue.h137 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()
Dgfx_ActivateCommand.h400 ResSeparateDataShape shape,
404 ResParticleShape shape,
414 ResSeparateDataShape shape,
418 ResParticleShape shape,
Dgfx_ParticleCollection.h80 ParticleShape* shape);
316 ParticleShape* shape = this->m_ParticleShape; in SwapBuffer() local
325 shape->SetBufferSide(this->m_BufferSide); in SwapBuffer()
Dgfx_ParticleSet.h126 ParticleShape* shape);
/NW4C-1.2.23/tools/DccPlugin/Maya/scripts/
DNW4C_SetCameraFovy.mel42 for ($shape in $shapes)
44 string $parents[] = `listRelatives -ap -pa -typ transform $shape`;
DNW4C_CreateMenu.mel136 // -ann "Set shape anim attributes of selected blendShape (transform) node"
DNW4C_SetRenderPriority.mel299 select -add $sg; // shape object & face
887 select -add $node; // shape object & face
DNW4C_SetMaterialAttr.mel537 select -add $node; // shape or face
DNW4C_ExpDialog.mel2707 is blend shape target
3235 does shape anim exist
3239 if (!size(`ls -typ blendShape`)) // check blend shape exists in scene first
DNW4C_SetAnimRange.mel2641 string $shape[] = `ls -s $list`;
2644 for ($work in $shape)