25uint32_t findMemoryType(vk::PhysicalDevice& physicalDevice, uint32_t typeFilter, vk::MemoryPropertyFlags properties);
26uint32_t findFastMemoryType(vk::PhysicalDevice& physicalDevice, uint32_t typeFilter, vk::MemoryPropertyFlags properties);
28void createImage(vk::Device& device, vk::PhysicalDevice& physicalDevice, uint32_t width, uint32_t height, vk::Format format, vk::ImageTiling tiling, vk::ImageUsageFlags usage, vk::MemoryPropertyFlags properties, vk::Image& image, vk::DeviceMemory& imageMemory);
30vk::ImageView createImageView(vk::Device& device, vk::Image image, vk::Format format, vk::ImageAspectFlags aspectFlags);
31vk::CommandBuffer beginSingleTimeCommands(
VulkanContext* context, vk::CommandPool& commandPool);
33void endSingleTimeCommands(
VulkanContext* context, vk::CommandPool& commandPool, vk::CommandBuffer commandBuffer);
35void transitionImageLayout(
VulkanContext* context, vk::CommandPool& commandPool, vk::Image image, vk::Format format, vk::ImageLayout oldLayout, vk::ImageLayout newLayout);
37void createBuffer(vk::DeviceSize size, vk::BufferUsageFlags usage, vk::MemoryPropertyFlags properties, vk::Buffer& buffer, vk::DeviceMemory& bufferMemory, vk::Device& device, vk::PhysicalDevice& physicalDevice);
38void createFastBuffer(vk::DeviceSize size, vk::BufferUsageFlags usage, vk::MemoryPropertyFlags properties, vk::Buffer& buffer, vk::DeviceMemory& bufferMemory, vk::Device& device, vk::PhysicalDevice& physicalDevice);
41#define INDEX_E(x,y,W) ((y)*(W) + (x))
42std::vector<uint32_t> generate_picture_EBO(
const glm::vec2 & s);
53glm::quat XrQuaternionToGLMQuat(XrQuaternionf& q);
54XrQuaternionf GLMQuatToXrQuaternion(glm::quat& q);
57glm::vec3 eulerAngleXYZFromRotationMatrix(glm::mat3x3& mat);
59glm::vec3 quatToEuler(glm::quat);
File that contain the VulkanContext class to manage Vulkan Instance, Physical device,...
glm::quat ApproximateAverage(std::vector< glm::quat > quaternions)
glm::mat3x3 glmEulerAnglesDegreeToRotationMatrix(glm::vec3)
glm::mat3x3 glmEulerAnglesDegreeToRotationMatrixNotOMAF(glm::vec3)
class that manages tasks related to Vulkan context (Vulkan Instance, Vulkan Physical device,...
file that contains the common include for the Vulkan part