/* SPDX-License-Identifier: GPL-2.0-or-later * Copyright 2020 Blender Foundation. All rights reserved. */ /** \file * \ingroup depsgraph */ #pragma once #include "pipeline_view_layer.h" namespace blender::deg { /* Builds a dependency graph that contains all objects in the view layer. * This is contrary to the regular ViewLayerBuilderPipeline, which is limited to visible objects * (and their dependencies). */ class AllObjectsBuilderPipeline : public ViewLayerBuilderPipeline { public: AllObjectsBuilderPipeline(::Depsgraph *graph); protected: virtual unique_ptr construct_node_builder() override; virtual unique_ptr construct_relation_builder() override; }; } // namespace blender::deg