MCPcopy Create free account
hub / github.com/assimp/assimp / ReadVertexDataColors

Method ReadVertexDataColors

code/AssetLib/FBX/FBXMeshGeometry.cpp:587–598  ·  view source on GitHub ↗

------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

585
586// ------------------------------------------------------------------------------------------------
587void MeshGeometry::ReadVertexDataColors(std::vector<aiColor4D>& colors_out, const Scope& source,
588 const std::string& MappingInformationType,
589 const std::string& ReferenceInformationType)
590{
591 ResolveVertexDataArray(colors_out,source,MappingInformationType,ReferenceInformationType,
592 "Colors",
593 "ColorIndex",
594 m_vertices.size(),
595 m_mapping_counts,
596 m_mapping_offsets,
597 m_mappings);
598}
599
600// ------------------------------------------------------------------------------------------------
601static const char *TangentIndexToken = "TangentIndex";

Callers

nothing calls this directly

Calls 2

ResolveVertexDataArrayFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected