Home
last modified time | relevance | path

Searched refs:dimension (Results 1 – 5 of 5) sorted by relevance

/NW4C-2.0.3/sources/libraries/gfx/
Dgfx_ParticleShape.cpp109 u32 dimension = shape->GetVertexAttributeDimension(i); in SetupParticleVertexAttributeCommand() local
111 …rmat[ inputIndex / 8 ] |= internal::CommandCacheHelper::GetVertexFormat(dimension, format) << ((in… in SetupParticleVertexAttributeCommand()
124 …command[commandIndex++] = (internal::CommandCacheHelper::GetVertexSize(dimension, format) << 16) +… in SetupParticleVertexAttributeCommand()
518 int dimension, in AddVertexStreamSize() argument
533 int streamSize = (capacity + internal::PARTICLE_SIMD_WIDTH_MAX) * dimension * formatSize; in AddVertexStreamSize()
547 int dimension, in AddVertexStream() argument
564 int streamSize = (capacity + internal::PARTICLE_SIMD_WIDTH_MAX) * dimension * formatSize; in AddVertexStream()
577 dimension, in AddVertexStream()
586 int dimension, in AddVertexParamSize() argument
602 int streamSize = dimension * formatSize; in AddVertexParamSize()
[all …]
Dgfx_ActivateCommand.cpp374 u32 dimension = stream.GetDimension(); in SetupActivateVertexAttributeCommand_() local
376 …inputFormat[ inputIndex / 8 ] |= CommandCacheHelper::GetVertexFormat(dimension, format) << ((input… in SetupActivateVertexAttributeCommand_()
404 u32 dimension = stream.GetDimension(); in SetupActivateVertexAttributeCommand_() local
406 …inputFormat[ inputIndex / 8 ] |= CommandCacheHelper::GetVertexFormat(dimension, format) << ((input… in SetupActivateVertexAttributeCommand_()
415 …command[commandIndex + 3] = (CommandCacheHelper::GetVertexSize(dimension, format) << 16) + (1 << … in SetupActivateVertexAttributeCommand_()
/NW4C-2.0.3/include/nw/gfx/
Dgfx_ActivateCommand.h93 static NW_INLINE u32 GetVertexFormat(s32 dimension, GLuint format) in GetVertexFormat() argument
106 return result + ((dimension - 1) << 2); in GetVertexFormat()
117 static NW_INLINE u32 GetVertexSize(s32 dimension, GLuint format) in GetVertexSize() argument
123 case GL_BYTE: return dimension; in GetVertexSize()
124 case GL_UNSIGNED_BYTE: return dimension; in GetVertexSize()
125 case GL_SHORT: return dimension * 2; in GetVertexSize()
126 case GL_FLOAT: return dimension * 4; in GetVertexSize()
Dgfx_ParticleShape.h125 int dimension,
132 int dimension,
139 int dimension,
147 int dimension,
433 u8 dimension, in AddVertexAttribute() argument
440 this->m_VertexAttribute[this->m_ResVertexAttributeDataCount].m_Dimension = dimension; in AddVertexAttribute()
/NW4C-2.0.3/sources/libraries/gfx/res/
Dgfx_ResMesh.cpp98 u8 dimension = 0; in ResSeparateDataShape_SetupVertexIrScale() local
105 dimension = constantVertexAttribute.GetDimension(); in ResSeparateDataShape_SetupVertexIrScale()
115 dimension = vertexStream.GetDimension(); in ResSeparateDataShape_SetupVertexIrScale()
124 if (dimension == 4) in ResSeparateDataShape_SetupVertexIrScale()