Home
last modified time | relevance | path

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

/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_ParticleCollection.cpp56 ParticleUsage usage, in ParticleStreamCreate() argument
74 storage->m_Usage = static_cast<s32>(usage); in ParticleStreamCreate()
99 ParticleUsage usage, in ParticleParameterAttributeCreate() argument
114 storage->m_Usage = static_cast<s32>(usage); in ParticleParameterAttributeCreate()
145 ParticleUsage usage = PARTICLEUSAGE_ACTIVEINDEX; in GetMemorySizeInternal() local
146 hasAttribute[usage] = true; in GetMemorySizeInternal()
151 ParticleUsage usage = PARTICLEUSAGE_FREEINDEX; in GetMemorySizeInternal() local
157 hasAttribute[usage] = true; in GetMemorySizeInternal()
163 ParticleUsage usage = PARTICLEUSAGE_NEG_TIMELIMIT; in GetMemorySizeInternal() local
168 hasAttribute[usage] = true; in GetMemorySizeInternal()
[all …]
Dgfx_ParticleShape.cpp103 s32 usage = shape->GetVertexAttributeUsage(i); in SetupParticleVertexAttributeCommand() local
104 NW_ASSERT(0 <= usage && usage < 12); in SetupParticleVertexAttributeCommand()
105 inputTable[ (inputIndex / 8) * 2 ] |= (usage & 0xF) << (4 * (inputIndex % 8)); in SetupParticleVertexAttributeCommand()
106 usedFlag |= 0x1 << usage; in SetupParticleVertexAttributeCommand()
149 s32 usage = shape->GetVertexAttributeUsage(i); in SetupParticleVertexAttributeCommand() local
150 NW_ASSERT(0 <= usage && usage < 12); in SetupParticleVertexAttributeCommand()
151 inputTable[ (inputIndex / 8) * 2 ] |= (usage & 0xF) << (4 * (inputIndex % 8)); in SetupParticleVertexAttributeCommand()
152 usedFlag |= 0x1 << usage; in SetupParticleVertexAttributeCommand()
545 s32 usage, in AddVertexStream() argument
575 usage, in AddVertexStream()
[all …]
Dgfx_ActivateCommand.cpp250 GetAttributeIndexFromUsage(ResShaderProgramDescription shaderProgramDesc, s32 usage) in GetAttributeIndexFromUsage() argument
252 return shaderProgramDesc.GetAttributeIndices(usage); in GetAttributeIndexFromUsage()
366 s32 usage = stream.GetUsage(); in SetupActivateVertexAttributeCommand_() local
367 s32 usageIndex = GetAttributeIndexFromUsage( shaderProgramDesc, usage ); in SetupActivateVertexAttributeCommand_()
394 s32 usage = attribute.GetUsage(); in SetupActivateVertexAttributeCommand_() local
395 s32 usageIndex = GetAttributeIndexFromUsage( shaderProgramDesc, usage ); in SetupActivateVertexAttributeCommand_()
435 s32 usage = param.GetUsage(); in SetupActivateVertexAttributeCommand_() local
436 s32 usageIndex = GetAttributeIndexFromUsage( shaderProgramDesc, usage ); in SetupActivateVertexAttributeCommand_()
470 s32 usage = shaderVtxAttrNum - 1; in SetupActivateVertexAttributeCommand_() local
471 s32 usageIndex = GetAttributeIndexFromUsage( shaderProgramDesc, usage ); in SetupActivateVertexAttributeCommand_()
/NW4C-2.0.3/include/nw/gfx/
Dgfx_ParticleCollection.h203 bool IsStream(ParticleUsage usage) const in IsStream() argument
205 NW_ASSERT(usage >= 0 && usage < PARTICLEUSAGE_COUNT); in IsStream()
207 return this->m_IsStream[usage]; in IsStream()
232 void* GetStreamPtr(ParticleUsage usage, ParticleBuffer side) in GetStreamPtr() argument
234 NW_ASSERT(usage >= 0 && usage < PARTICLEUSAGE_COUNT); in GetStreamPtr()
236 if (!this->m_IsStream[usage]) in GetStreamPtr()
246 return this->m_StreamPtr[usage][side]; in GetStreamPtr()
253 const void* GetStreamPtr(ParticleUsage usage, ParticleBuffer side) const in GetStreamPtr() argument
255 NW_ASSERT(usage >= 0 && usage < PARTICLEUSAGE_COUNT); in GetStreamPtr()
257 if (!this->m_IsStream[usage]) in GetStreamPtr()
[all …]
Dgfx_ShaderProgram.h128 ResVertexAttribute::VertexAttributeUsage usage) const;
137 int GetVertexAttributeIndex(u32 usage) const in GetVertexAttributeIndex() argument
140 static_cast<ResVertexAttribute::VertexAttributeUsage>(usage)); in GetVertexAttributeIndex()
638 ResVertexAttribute::VertexAttributeUsage usage in GetVertexAttributeIndex() argument
644 return description.GetAttributeIndices(usage); in GetVertexAttributeIndex()
Dgfx_ParticleShape.h137 s32 usage,
145 s32 usage,
431 s32 usage, in AddVertexAttribute() argument
438 this->m_VertexAttribute[this->m_ResVertexAttributeDataCount].m_Usage = usage; in AddVertexAttribute()
/NW4C-2.0.3/sources/libraries/gfx/res/
Dgfx_ResMesh.cpp39 QueryScaleCommandIndex(ResVertexAttribute::VertexAttributeUsage usage) in QueryScaleCommandIndex() argument
43 switch (usage) in QueryScaleCommandIndex()
99 ResVertexAttribute::VertexAttributeUsage usage = ResVertexAttribute::USAGE_NONE; in ResSeparateDataShape_SetupVertexIrScale() local
107usage = static_cast<ResVertexAttribute::VertexAttributeUsage>(constantVertexAttribute.GetUsage()); in ResSeparateDataShape_SetupVertexIrScale()
108 s32 commandIndex = QueryScaleCommandIndex( usage ); in ResSeparateDataShape_SetupVertexIrScale()
117usage = static_cast<ResVertexAttribute::VertexAttributeUsage>(vertexStream.GetUsage()); in ResSeparateDataShape_SetupVertexIrScale()
119 s32 commandIndex = QueryScaleCommandIndex( usage ); in ResSeparateDataShape_SetupVertexIrScale()
126 if (usage == ResVertexAttribute::USAGE_COLOR) in ResSeparateDataShape_SetupVertexIrScale()
130 else if (usage == ResVertexAttribute::USAGE_BONEWEIGHT) in ResSeparateDataShape_SetupVertexIrScale()
/NW4C-2.0.3/tools/CsdrUpdater/
DCsdrUpdater.py6 def usage(): function
31 usage()