/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | node_context_descriptor_set_manager.cpp | 142 …const uint32_t maxCount = static_cast<uint32_t>(Math::min(src.samplers.size(), dst.samplers.size()… in CopyAndProcessSamplers() 143 dst.samplers.clear(); in CopyAndProcessSamplers() 144 dst.samplers.insert(dst.samplers.end(), src.samplers.begin(), src.samplers.begin() + maxCount); in CopyAndProcessSamplers() 147 auto& dstRef = dst.samplers[idx]; in CopyAndProcessSamplers() 419 cpuDescriptorSet[index].samplers, in GetCpuDescriptorSetDataImpl()
|
H A D | render_node_util.cpp | 128 …dles(gpuResourceMgr, rngShareMgr, RenderHandleType::GPU_SAMPLER, resources.samplers, res.samplers); in SetupRenderNodeResourceHandles() 132 setImageHandles(gpuResourceMgr, rngShareMgr, res.samplers, resources.images, res.images); in SetupRenderNodeResourceHandles() 232 for (const auto& ref : resources.samplers) { in BindResourcesToBinder() 425 changeable = changeable || HasChangingResources(resources.samplers); in HasChangeableResources()
|
H A D | node_context_descriptor_set_manager.h | 112 BASE_NS::vector<SamplerDescriptor> samplers; member
|
H A D | render_node_parser_util.cpp | 417 …ParseArray<decltype(resources.samplers)::value_type>(*res, "samplers", resources.samplers, result); in ParseResources()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/ |
H A D | shader_pipeline_binder.cpp | 218 descSetRes.samplers.resize(descSetBindingRes.samplers.size()); in ShaderPipelineBinder() 238 … descSetRes.bindings[idx].arrayoffset = descSetBindingRes.samplers[ref.resourceIndex].arrayOffset; in ShaderPipelineBinder() 307 ClearResourcesBindings(descRef.samplers); in ClearBindings() 327 checkValidity(ref.samplers, valid); in GetBindingValidity() 508 if (resIdx < setResources.samplers.size()) { in BindSampler() 510 setResources.samplers[resIdx] = resource; in BindSampler() 537 if (resIdx < setResources.samplers.size()) { in BindSamplers() 539 setResources.samplers[resIdx] = resources[0U]; in BindSamplers() 624 (resBinding.resIdx < setResources.samplers.size())) { in GetResourceBinding() 625 rb.handle = setResources.samplers[resBinding.resIdx].handle; in GetResourceBinding()
|
H A D | shader_pipeline_binder.h | 153 BASE_NS::vector<BindableSamplerWithHandleReference> samplers; member
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | shader_module_gles.cpp | 54 vector<Bind> samplers; in CollectRes() local 61 … samplers.push_back({ static_cast<uint8_t>(set.set), static_cast<uint8_t>(binding.binding) }); in CollectRes() 97 for (const auto& sBinding : samplers) { in CollectRes()
|
H A D | node_context_descriptor_set_manager_gles.cpp | 89 newSet.samplers.resize(samplerCount); in CreateDescriptorSet() 139 newSet.samplers.resize(samplerCount); in CreateOneFrameDescriptorSet()
|
H A D | gpu_program_gles.cpp | 396 vector<Binder> samplers; in BuildBindInfos() local 471 samplers.push_back(move(tmp)); in BuildBindInfos() 479 bindinfos.reserve(samplers.size() + others.size()); in BuildBindInfos() 480 for (auto& s : samplers) { in BuildBindInfos()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_exporter.cpp | 413 if (samplerImage.first < samplers.size()) { in GenerateGltfTextures() 414 exportTexture->sampler = samplers[samplerImage.first].get(); in GenerateGltfTextures() 819 exportAnimation.samplers.erase( in CleanupAnimation() 820 std::find_if(exportAnimation.samplers.begin(), exportAnimation.samplers.end(), in CleanupAnimation() 822 exportAnimation.samplers.end()); in CleanupAnimation() 860 if ((samplerIndex + 1) >= exportAnimation->samplers.size()) { in ExportGltfAnimations() 861 exportAnimation->samplers.resize(samplerIndex + 1); in ExportGltfAnimations() 868 exportAnimation->samplers[samplerIndex].get() }); in ExportGltfAnimations() 1391 for (auto const& sampler : animation->samplers) { in ExportAnimations() 1951 for (auto const& sampler : data.samplers) { in ExportSamplers() [all …]
|
H A D | data.h | 54 BASE_NS::vector<BASE_NS::unique_ptr<GLTF2::Sampler>> samplers; in CORE3D_BEGIN_NAMESPACE() member
|
H A D | gltf2_importer.cpp | 1183 const size_t index = FindIndex(data.samplers, texture.sampler); in ResolveSampler() 1185 return importResult.data.samplers[index]; in ResolveSampler() 2597 result_.data.samplers.clear(); in ImportGLTF() 2638 result_.data.samplers.clear(); in ImportGLTFAsync() 3031 for (size_t i = 0; i < data_->samplers.size(); ++i) { in PrepareSamplerTasks() 3036 auto const& sampler = data_->samplers[i]; in PrepareSamplerTasks() 3053 result_.data.samplers.push_back(move(entity)); in PrepareSamplerTasks() 3537 result_.data.samplers = result.data.samplers; in ImportResources() 3573 result_.data.samplers = result.data.samplers; in Execute()
|
H A D | gltf2_loader.cpp | 839 if (samplerIndex < loadResult.data->samplers.size()) { in TextureSampler() 840 sampler = loadResult.data->samplers[samplerIndex].get(); in TextureSampler() 1002 loadResult.data->samplers.push_back(move(sampler)); in ParseSampler() 2449 animation.samplers.push_back(move(sampler)); in PrimitiveAttributes() 2471 if (sampler != GLTF_INVALID_INDEX && sampler < animation.samplers.size()) { in PrimitiveAttributes() 2472 animationTrack.sampler = animation.samplers[sampler].get(); in PrimitiveAttributes() 2536 if (!animation->tracks.empty() && !animation->samplers.empty()) { in PrimitiveAttributes()
|
H A D | gltf2_data_structures.h | 749 BASE_NS::vector<BASE_NS::unique_ptr<AnimationSampler>> samplers; in CORE3D_BEGIN_NAMESPACE() member
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/templates/rendernodegraphs/ |
H A D | render_node_camera_single_post_process.rng | 61 "samplers": [
|
H A D | render_node_default_material_deferred_shading.rng | 70 "samplers": [
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/templates/rendernodegraphs/ |
H A D | render_node_single_post_process.rng | 53 "samplers": [
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/node/ |
H A D | render_node_mip_chain_post_process.cpp | 517 if (!inputResources_.samplers.empty()) { in ParseRenderNodeInputs() 518 … if (auto pos = std::find_if(inputResources_.samplers.cbegin(), inputResources_.samplers.cend(), in ParseRenderNodeInputs() 524 pos != inputResources_.samplers.cend()) { in ParseRenderNodeInputs()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/ |
H A D | render_data_structures.h | 252 BASE_NS::vector<RenderNodeResource> samplers; member 379 BASE_NS::vector<Resource> samplers; member
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | node_context_descriptor_set_manager_vk.cpp | 413 newSet.samplers.resize(descSetData.descriptorCounts.samplerCount); in CreateDescriptorSet() 457 newSet.samplers.resize(descSetData.descriptorCounts.samplerCount); in CreateOneFrameDescriptorSet() 513 const auto& samRef = cpuDescriptorSet.samplers[cpuBinding.resourceIndex]; in CreateGpuDescriptorSet() 746 …escriptorWriteData_.samplerBindingCount += static_cast<uint32_t>(bindingResources.samplers.size()); in UpdateCpuDescriptorSetPlatform()
|
H A D | render_backend_vk.cpp | 1945 const auto& samplers = bindingResources.samplers; in UpdateCommandListDescriptorSets() local 2077 for (const auto& ref : samplers) { in UpdateCommandListDescriptorSets() 2084 PLUGIN_ASSERT((arrayOffset + descriptorCount - 1) <= samplers.size()); in UpdateCommandListDescriptorSets() 2087 …const BindableSampler& bRes = (idx == 0) ? ref.resource : samplers[arrayOffset + idx - 1].resource; in UpdateCommandListDescriptorSets()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/api/render/device/ |
H A D | pipeline_layout_desc.h | 192 BASE_NS::array_view<const SamplerDescriptor> samplers; member
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/loaders/ |
H A D | intf_scene_loader.h | 60 BASE_NS::vector<CORE_NS::EntityReference> samplers; member
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/gltf/ |
H A D | gltf.h | 122 BASE_NS::vector<CORE_NS::EntityReference> samplers; member
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/render/ |
H A D | intf_render_data_store_default_material.h | 143 RENDER_NS::RenderHandleReference samplers[MATERIAL_TEXTURE_COUNT]; member
|