Home
last modified time | relevance | path

Searched refs:usage (Results 1 – 8 of 8) sorted by relevance

/NW4C-1.3.3/sources/libraries/gfx/
Dgfx_ParticleCollection.cpp55 ParticleUsage usage, in ParticleStreamCreate() argument
75 storage->m_Usage = static_cast<s32>(usage); in ParticleStreamCreate()
100 ParticleUsage usage, in ParticleParameterAttributeCreate() argument
115 storage->m_Usage = static_cast<s32>(usage); in ParticleParameterAttributeCreate()
146 ParticleUsage usage = PARTICLEUSAGE_ACTIVEINDEX; in GetMemorySizeInternal() local
147 hasAttribute[usage] = true; in GetMemorySizeInternal()
152 ParticleUsage usage = PARTICLEUSAGE_FREEINDEX; in GetMemorySizeInternal() local
158 hasAttribute[usage] = true; in GetMemorySizeInternal()
164 ParticleUsage usage = PARTICLEUSAGE_NEG_TIMELIMIT; in GetMemorySizeInternal() local
169 hasAttribute[usage] = true; in GetMemorySizeInternal()
[all …]
Dgfx_ParticleShape.cpp101 s32 usage = shape->GetVertexAttributeUsage(i); in SetupParticleVertexAttributeCommand() local
102 NW_ASSERT(0 <= usage && usage < 12); in SetupParticleVertexAttributeCommand()
103 inputTable[ (inputIndex / 8) * 2 ] |= (usage & 0xF) << (4 * (inputIndex % 8)); in SetupParticleVertexAttributeCommand()
104 usedFlag |= 0x1 << usage; in SetupParticleVertexAttributeCommand()
147 s32 usage = shape->GetVertexAttributeUsage(i); in SetupParticleVertexAttributeCommand() local
148 NW_ASSERT(0 <= usage && usage < 12); in SetupParticleVertexAttributeCommand()
149 inputTable[ (inputIndex / 8) * 2 ] |= (usage & 0xF) << (4 * (inputIndex % 8)); in SetupParticleVertexAttributeCommand()
150 usedFlag |= 0x1 << usage; in SetupParticleVertexAttributeCommand()
543 s32 usage, in AddVertexStream() argument
573 usage, in AddVertexStream()
[all …]
Dgfx_ActivateCommand.cpp248 GetAttributeIndexFromUsage(ResShaderProgramDescription shaderProgramDesc, s32 usage) in GetAttributeIndexFromUsage() argument
250 return shaderProgramDesc.GetAttributeIndices(usage); in GetAttributeIndexFromUsage()
364 s32 usage = stream.GetUsage(); in SetupActivateVertexAttributeCommand_() local
365 s32 usageIndex = GetAttributeIndexFromUsage( shaderProgramDesc, usage ); in SetupActivateVertexAttributeCommand_()
392 s32 usage = attribute.GetUsage(); in SetupActivateVertexAttributeCommand_() local
393 s32 usageIndex = GetAttributeIndexFromUsage( shaderProgramDesc, usage ); in SetupActivateVertexAttributeCommand_()
433 s32 usage = param.GetUsage(); in SetupActivateVertexAttributeCommand_() local
434 s32 usageIndex = GetAttributeIndexFromUsage( shaderProgramDesc, usage ); in SetupActivateVertexAttributeCommand_()
468 s32 usage = shaderVtxAttrNum - 1; in SetupActivateVertexAttributeCommand_() local
469 s32 usageIndex = GetAttributeIndexFromUsage( shaderProgramDesc, usage ); in SetupActivateVertexAttributeCommand_()
/NW4C-1.3.3/include/nw/gfx/
Dgfx_ParticleCollection.h195 bool IsStream(ParticleUsage usage) const in IsStream() argument
197 NW_ASSERT(usage >= 0 && usage < PARTICLEUSAGE_COUNT); in IsStream()
199 return this->m_IsStream[usage]; in IsStream()
212 void* GetStreamPtr(ParticleUsage usage, ParticleBuffer side) in GetStreamPtr() argument
214 NW_ASSERT(usage >= 0 && usage < PARTICLEUSAGE_COUNT); in GetStreamPtr()
216 if (!this->m_IsStream[usage]) in GetStreamPtr()
226 return this->m_StreamPtr[usage][side]; in GetStreamPtr()
233 const void* GetStreamPtr(ParticleUsage usage, ParticleBuffer side) const in GetStreamPtr() argument
235 NW_ASSERT(usage >= 0 && usage < PARTICLEUSAGE_COUNT); in GetStreamPtr()
237 if (!this->m_IsStream[usage]) in GetStreamPtr()
[all …]
Dgfx_ShaderProgram.h126 ResVertexAttribute::VertexAttributeUsage usage) const;
135 int GetVertexAttributeIndex(u32 usage) const in GetVertexAttributeIndex() argument
138 static_cast<ResVertexAttribute::VertexAttributeUsage>(usage)); in GetVertexAttributeIndex()
636 ResVertexAttribute::VertexAttributeUsage usage in GetVertexAttributeIndex() argument
642 return description.GetAttributeIndices(usage); in GetVertexAttributeIndex()
Dgfx_ParticleShape.h135 s32 usage,
143 s32 usage,
429 s32 usage, in AddVertexAttribute() argument
436 this->m_VertexAttribute[this->m_ResVertexAttributeDataCount].m_Usage = usage; in AddVertexAttribute()
/NW4C-1.3.3/sources/libraries/gfx/res/
Dgfx_ResMesh.cpp37 QueryScaleCommandIndex(ResVertexAttribute::VertexAttributeUsage usage) in QueryScaleCommandIndex() argument
41 switch (usage) in QueryScaleCommandIndex()
97 ResVertexAttribute::VertexAttributeUsage usage = ResVertexAttribute::USAGE_NONE; in ResSeparateDataShape_SetupVertexIrScale() local
105usage = static_cast<ResVertexAttribute::VertexAttributeUsage>(constantVertexAttribute.GetUsage()); in ResSeparateDataShape_SetupVertexIrScale()
106 s32 commandIndex = QueryScaleCommandIndex( usage ); in ResSeparateDataShape_SetupVertexIrScale()
115usage = static_cast<ResVertexAttribute::VertexAttributeUsage>(vertexStream.GetUsage()); in ResSeparateDataShape_SetupVertexIrScale()
117 s32 commandIndex = QueryScaleCommandIndex( usage ); in ResSeparateDataShape_SetupVertexIrScale()
124 if (usage == ResVertexAttribute::USAGE_COLOR) in ResSeparateDataShape_SetupVertexIrScale()
128 else if (usage == ResVertexAttribute::USAGE_BONEWEIGHT) in ResSeparateDataShape_SetupVertexIrScale()
/NW4C-1.3.3/tools/CsdrUpdater/
DCsdrUpdater.py6 def usage(): function
31 usage()