15 #include <vsg/app/CompileTraversal.h>
16 #include <vsg/threading/OperationQueue.h>
25 int result = VK_INCOMPLETE;
28 bool containsPagedLOD =
false;
29 ResourceRequirements::Views views;
33 explicit operator bool()
const noexcept {
return result == VK_SUCCESS; }
37 bool requiresViewerUpdate()
const;
61 using ContextSelectionFunction = std::function<bool(
vsg::Context&)>;
68 size_t numCompileTraversals = 0;
71 CompileTraversals::container_type takeCompileTraversals(
size_t count);
CompileManager is a helper class that compiles subgraphs for the windows/framebuffers associated with...
Definition: CompileManager.h:42
void add(ref_ptr< Device > device, const ResourceRequirements &resourceRequirements={})
add a compile Context for device
CompileResult compile(ref_ptr< Object > object, ContextSelectionFunction contextSelection={})
compile object
void add(Framebuffer &framebuffer, ref_ptr< View > view, const ResourceRequirements &resourceRequirements={})
add a compile Context for Framebuffer and associated View
void add(Window &window, ref_ptr< ViewportState > viewport={}, const ResourceRequirements &resourceRequirements={})
add a compile Context for Window and associated viewport.
void add(Window &window, ref_ptr< View > view, const ResourceRequirements &resourceRequirements={})
add a compile Context for View
void add(const Viewer &viewer, const ResourceRequirements &resourceRequirements={})
add a compile Context for all the Views assigned to a Viewer
Framebuffer encapsulates VkFramebuffer, used as a rendering target associated with a Window or for re...
Definition: Framebuffer.h:23
ResourceRequirements provides a container for various Vulkan resource requirements that can be used t...
Definition: ResourceRequirements.h:30
Template thread safe queue.
Definition: OperationQueue.h:27
Definition: CompileManager.h:24
Definition: ResourceRequirements.h:56