Home
last modified time | relevance | path

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

/NW4C-1.2.23/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_ActivateCommand.cpp256 s32 usage = stream.GetUsage(); in SetupActivateVertexAttributeCommand_() local
257 NW_ASSERT(0 <= usage && usage < MAX_ATTRIBUTES_NUM); in SetupActivateVertexAttributeCommand_()
259 …inputMapTable[ (inputIndex / 8) * 2 ] |= (usage & 0xf) << (4 * (inputIndex % 8)); // (inputIndex >… in SetupActivateVertexAttributeCommand_()
260 usedFlag |= 0x1 << usage; in SetupActivateVertexAttributeCommand_()
285 s32 usage = attribute.GetUsage(); in SetupActivateVertexAttributeCommand_() local
286 NW_ASSERT(0 <= usage && usage < MAX_ATTRIBUTES_NUM); in SetupActivateVertexAttributeCommand_()
287 inputMapTable[ (inputIndex / 8) * 2 ] |= (usage & 0xF) << (4 * (inputIndex % 8)); in SetupActivateVertexAttributeCommand_()
288 usedFlag |= 0x1 << usage; in SetupActivateVertexAttributeCommand_()
324 s32 usage = param.GetUsage(); in SetupActivateVertexAttributeCommand_() local
325 NW_ASSERT(0 <= usage && usage < 12); in SetupActivateVertexAttributeCommand_()
[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 …]
/NW4C-1.2.23/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()
635 ResVertexAttribute::VertexAttributeUsage usage in GetVertexAttributeIndex() argument
641 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.2.23/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.2.23/tools/CsdrUpdater/
DCsdrUpdater.py6 def usage(): function
31 usage()