Home
last modified time | relevance | path

Searched refs:maxByteSize (Results 1 - 4 of 4) sorted by relevance

/foundation/graphic/graphic_3d/lume/LumeRender/src/datastore/
H A Drender_data_store_post_process.cpp76 const uint32_t maxByteSize, const string_view type, const json::value* value, uint32_t& offset, uint8_t* data) in AppendValues()
79 if ((offset + ALIGNMENT_OF_VEC4) <= maxByteSize) { in AppendValues()
85 if ((offset + ALIGNMENT_OF_VEC4) <= maxByteSize) { in AppendValues()
91 if ((offset + ALIGNMENT_OF_VEC4) <= maxByteSize) { in AppendValues()
97 if ((offset + ALIGNMENT_OF_VEC3) <= maxByteSize) { in AppendValues()
103 if ((offset + ALIGNMENT_OF_VEC3) <= maxByteSize) { in AppendValues()
109 if ((offset + ALIGNMENT_OF_VEC3) <= maxByteSize) { in AppendValues()
115 if ((offset + ALIGNMENT_OF_VEC2) <= maxByteSize) { in AppendValues()
121 if ((offset + ALIGNMENT_OF_VEC2) <= maxByteSize) { in AppendValues()
127 if ((offset + ALIGNMENT_OF_VEC2) <= maxByteSize) { in AppendValues()
75 AppendValues( const uint32_t maxByteSize, const string_view type, const json::value* value, uint32_t& offset, uint8_t* data) AppendValues() argument
[all...]
H A Drender_data_store_pod.cpp106 const uint32_t maxByteSize = std::min(byteSize, static_cast<uint32_t>(srcData.size())); in Set() local
109 if (!CloneData(dst, dataStore_.size() - index, srcData.data(), maxByteSize)) { in Set()
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/datastore/
H A Drender_data_store_default_material.cpp305 const auto maxByteSize = Math::min(static_cast<uint32_t>(customData.size_bytes()), in AddMaterialData() local
308 mcpo.byteSize = maxByteSize; in AddMaterialData()
309 materialCustomPropertyData_.resize(offset + maxByteSize); in AddMaterialData()
310 CloneData(materialCustomPropertyData_.data() + offset, maxByteSize, customData.data(), maxByteSize); in AddMaterialData()
384 const auto maxByteSize = Math::min(static_cast<uint32_t>(customPropertyData.size_bytes()), in AddInstanceMaterialData() local
388 mcpo.byteSize = maxByteSize; in AddInstanceMaterialData()
389 materialCustomPropertyData_.resize(offset + maxByteSize); in AddInstanceMaterialData()
390 CloneData(materialCustomPropertyData_.data() + offset, maxByteSize, customPropertyData.data(), maxByteSize); in AddInstanceMaterialData()
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dshader_pipeline_binder.cpp361 const size_t maxByteSize = Math::min(pushData_.size_in_bytes(), data.size_bytes()); in SetPushConstantData() local
362 CloneData(pushData_.data(), pushData_.size_in_bytes(), data.data(), maxByteSize); in SetPushConstantData()

Completed in 4 milliseconds