engine/engine/inc/uf/ext/vulkan/commands/stereo.h
2020-07-04 00:00:00 -05:00

22 lines
598 B
C++

#pragma once
#include <uf/ext/vulkan/device.h>
#include <uf/ext/vulkan/rendertarget.h>
namespace ext {
namespace vulkan {
struct UF_API MultiviewCommand : public ext::vulkan::Command {
struct {
ext::vulkan::RenderTarget left;
ext::vulkan::RenderTarget right;
} framebuffers;
// RAII
virtual const std::string& getName() const;
virtual void createCommandBuffers( const std::vector<void*>& graphics, const std::vector<std::string>& passes );
virtual void render();
virtual void initialize( Device& device );
virtual void destroy();
};
}
}