Searched refs:componentByteSize (Results 1 - 4 of 4) sorted by relevance
/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_util.cpp | 36 vector<uint8_t> Read(const uint8_t* src, uint32_t componentByteSize, uint32_t componentCount, uint32_t elementSize, in Read() argument 42 const size_t sourceSize = componentCount * componentByteSize * count; in Read() 72 const uint32_t componentByteSize = GetComponentByteSize(accessor.componentType); in Read() local 74 const uint32_t elementSize = componentCount * componentByteSize; in Read() 91 return Read(src, componentByteSize, componentCount, elementSize, byteStride, count); in Read() 179 auto const componentByteSize = GetComponentByteSize(accessor.sparse.indices.componentType); in LoadSparseAccessor() local 180 auto const elementSize = componentCount * componentByteSize; in LoadSparseAccessor() 184 sparseIndicesData = Read(src, componentByteSize, componentCount, elementSize, byteStride, count); in LoadSparseAccessor() 193 auto const componentByteSize = GetComponentByteSize(accessor.componentType); in LoadSparseAccessor() local 194 auto const elementSize = componentCount * componentByteSize; in LoadSparseAccessor() [all...] |
H A D | gltf2_util.h | 92 size_t componentByteSize { 0 };
|
H A D | gltf2_importer.cpp | 506 data.componentByteSize = sizeof(float); in ConvertLoadResultToFloat() 507 data.elementSize = data.componentByteSize * data.componentCount; in ConvertLoadResultToFloat()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | mesh_builder.cpp | 122 size_t componentByteSize; member 436 return properties.componentCount * properties.componentByteSize; in GetVertexAttributeByteSize() 617 const auto dstElementSize = dstFormat.componentCount * dstFormat.componentByteSize; in Fill() 629 const auto srcElementSize = srcFormat.componentCount * srcFormat.componentByteSize; in Fill() 853 dstFormat.fromIntermediate(dstPtr + i * dstFormat.componentByteSize, in Fill() 854 srcFormat.toIntermediate(srcPtr + i * srcFormat.componentByteSize)); in Fill() 1374 const auto posElementSize = posFormat.componentCount * posFormat.componentByteSize; in CalculateAABB() 1730 if (const auto posElementSize = posFormat.componentCount * posFormat.componentByteSize; in GatherDeltasP() 1777 pos[i] = posFormat.toIntermediate(ptr + i * posFormat.componentByteSize); in GatherDeltasP() 1809 if (const auto posElementSize = posFormat.componentCount * posFormat.componentByteSize; in GatherDeltasPN() [all...] |
Completed in 10 milliseconds