48 throw std::logic_error(std::string(__func__) +
" not implemented");
64 auto res = std::vector<vk::Image>();
70 auto res = std::vector<vk::Extent2D>();
81 return std::vector<vk::Semaphore>();
86 return std::vector<vk::Semaphore>();
92 return swapchains[view]->getSwapchainImageView(elem);
201 return swapchains[view]->getSwapchainImage(index);
233 res = s > res ? s : res;
File that contain the VulkanContext class to manage Vulkan Instance, Physical device,...
Class that contains helper functions for Vulkan.
file that contains the VulkanWrapper class that manages the classes related to Vulkan code and ease t...
Contain the class WindowAbstract.
Class that manages the classes related to Vulkan code and act as a wrapper around them.
virtual const bool useOpenXR()
vk::ImageView getSwapchainImageView(int view, int elem)
virtual vk::Buffer getRenderingDestination()
glm::vec3 currentTranslation
vk::ImageView getDepthSwapchainImageView(int view, int elem)
glm::vec3 getTranslation()
const bool isValidationLayersEnabled()
std::vector< std::unique_ptr< SwapchainAbstract > > depthSwapchains
virtual vk::Image getDepthSwapchainImage(int view, int index)
virtual vk::Extent2D getSwapchainExtent(int view)
void setWrapper(VulkanWrapper *wraps)
virtual vk::Format getDepthSwapchainFormat(int view)
bool isIndepFromWindowDimension()
glm::vec3 currentRotation
bool separateFromWindowDim
void setRotation(float v0, float v1, float v3)
virtual std::vector< vk::Extent2D > getBlitExtentDestinations(int view, int elem)
virtual vk::Format getSwapchainFormat(int view)
virtual std::vector< vk::Semaphore > getSemaphoreSignal(int view, int elem)
virtual std::vector< vk::Image > getBlitDestinations(int view, int elem)
virtual std::vector< vk::Semaphore > getSemaphoreWait(int view, int elem)
std::vector< std::unique_ptr< SwapchainAbstract > > swapchains
virtual bool isDepthRecquired()
virtual vk::Image getSwapchainImage(int view, int index)
const bool enableValidationLayers