Home
last modified time | relevance | path

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

/NW4C-1.2.23/include/nw/gfx/
Dgfx_ActivateCommand.h89 static NW_INLINE u32 GetVertexFormat(s32 dimension, GLuint format) in GetVertexFormat() argument
102 return result + ((dimension - 1) << 2); in GetVertexFormat()
113 static NW_INLINE u32 GetVertexSize(s32 dimension, GLuint format) in GetVertexSize() argument
119 case GL_BYTE: return dimension; in GetVertexSize()
120 case GL_UNSIGNED_BYTE: return dimension; in GetVertexSize()
121 case GL_SHORT: return dimension * 2; in GetVertexSize()
122 case GL_FLOAT: return dimension * 4; in GetVertexSize()
Dgfx_ParticleShape.h123 int dimension,
130 int dimension,
137 int dimension,
145 int dimension,
431 u8 dimension, in AddVertexAttribute() argument
438 this->m_VertexAttribute[this->m_ResVertexAttributeDataCount].m_Dimension = dimension; in AddVertexAttribute()
/NW4C-1.2.23/sources/libraries/gfx/
Dgfx_ParticleShape.cpp107 u32 dimension = shape->GetVertexAttributeDimension(i); in SetupParticleVertexAttributeCommand() local
109 …rmat[ inputIndex / 8 ] |= internal::CommandCacheHelper::GetVertexFormat(dimension, format) << ((in… in SetupParticleVertexAttributeCommand()
122 …command[commandIndex++] = (internal::CommandCacheHelper::GetVertexSize(dimension, format) << 16) +… in SetupParticleVertexAttributeCommand()
516 int dimension, in AddVertexStreamSize() argument
531 int streamSize = (capacity + internal::PARTICLE_SIMD_WIDTH_MAX) * dimension * formatSize; in AddVertexStreamSize()
545 int dimension, in AddVertexStream() argument
562 int streamSize = (capacity + internal::PARTICLE_SIMD_WIDTH_MAX) * dimension * formatSize; in AddVertexStream()
575 dimension, in AddVertexStream()
584 int dimension, in AddVertexParamSize() argument
600 int streamSize = dimension * formatSize; in AddVertexParamSize()
[all …]
Dgfx_ActivateCommand.cpp263 u32 dimension = stream.GetDimension(); in SetupActivateVertexAttributeCommand_() local
265 …inputFormat[ inputIndex / 8 ] |= CommandCacheHelper::GetVertexFormat(dimension, format) << ((input… in SetupActivateVertexAttributeCommand_()
293 u32 dimension = stream.GetDimension(); in SetupActivateVertexAttributeCommand_() local
295 …inputFormat[ inputIndex / 8 ] |= CommandCacheHelper::GetVertexFormat(dimension, format) << ((input… in SetupActivateVertexAttributeCommand_()
304 …command[commandIndex + 3] = (CommandCacheHelper::GetVertexSize(dimension, format) << 16) + (1 << … in SetupActivateVertexAttributeCommand_()
/NW4C-1.2.23/sources/libraries/gfx/res/
Dgfx_ResMesh.cpp96 u8 dimension = 0; in ResSeparateDataShape_SetupVertexIrScale() local
103 dimension = constantVertexAttribute.GetDimension(); in ResSeparateDataShape_SetupVertexIrScale()
113 dimension = vertexStream.GetDimension(); in ResSeparateDataShape_SetupVertexIrScale()
122 if (dimension == 4) in ResSeparateDataShape_SetupVertexIrScale()