15 #include <vsg/app/ProjectionMatrix.h>
16 #include <vsg/app/ViewMatrix.h>
17 #include <vsg/state/GraphicsPipeline.h>
18 #include <vsg/state/ViewportState.h>
38 VkViewport getViewport()
const {
return viewportState ? viewportState->getViewport() : VkViewport{}; }
39 VkRect2D getRenderArea()
const {
return viewportState ? viewportState->getScissor() : VkRect2D{}; }
41 void read(
Input& input)
override;
42 void write(
Output& output)
const override;
51 std::map<RefObjectPath, ref_ptr<Camera>> cameras;
53 void apply(
Object&
object)
override;
54 void apply(
Camera& camera)
override;
57 ObjectPath _objectPath;
FindCameras is a visitor that traverses a scene graph to collect the Cameras found within it.
Definition: Camera.h:48