Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_node_default_material_objects.cpp201 constexpr uint32_t singleComponentStructSize = UBO_BIND_OFFSET_ALIGNMENT; in ProcessBuffers() local
211 …static_cast<uint32_t>(Align(objectCounts_.maxMeshCount * singleComponentStructSize, baseStructSize… in ProcessBuffers()
212 objectCounts_.maxMeshCount = (byteSize / singleComponentStructSize) - MIN_UBO_OBJECT_COUNT; in ProcessBuffers()
213 … CORE_ASSERT((int32_t(byteSize / singleComponentStructSize) - int32_t(MIN_UBO_OBJECT_COUNT)) > 0); in ProcessBuffers()
235 …static_cast<uint32_t>(Align(objectCounts_.maxMaterialCount * singleComponentStructSize, baseStruct… in ProcessBuffers()
236 … objectCounts_.maxMaterialCount = (byteSize / singleComponentStructSize) - MIN_UBO_OBJECT_COUNT; in ProcessBuffers()
237 … CORE_ASSERT((int32_t(byteSize / singleComponentStructSize) - int32_t(MIN_UBO_OBJECT_COUNT)) > 0); in ProcessBuffers()