Fling Engine  0.00.1
Fling Engine is a game engine written in Vulkan
Namespaces | Functions
GraphicsHelpers.h File Reference
#include "FlingVulkan.h"
#include "FlingTypes.h"

Go to the source code of this file.

Namespaces

 Fling
 
 Fling::GraphicsHelpers
 

Functions

UINT32 Fling::GraphicsHelpers::FindMemoryType (VkPhysicalDevice t_PhysicalDevice, UINT32 t_Filter, VkMemoryPropertyFlags t_Props)
 Find a suitable memory type for use on the current device. More...
 
void Fling::GraphicsHelpers::CreateBuffer (VkDevice t_Device, VkPhysicalDevice t_PhysicalDevice, VkDeviceSize t_Size, VkBufferUsageFlags t_Usage, VkMemoryPropertyFlags t_Properties, VkBuffer &t_Buffer, VkDeviceMemory &t_BuffMemory)
 
VkCommandBuffer Fling::GraphicsHelpers::BeginSingleTimeCommands ()
 
void Fling::GraphicsHelpers::EndSingleTimeCommands (VkCommandBuffer t_CommandBuffer)
 
void Fling::GraphicsHelpers::CreateVkImage (UINT32 t_Width, UINT32 t_Height, VkFormat t_Format, VkImageTiling t_Tiling, VkImageUsageFlags t_Useage, VkMemoryPropertyFlags t_Props, VkImage &t_Image, VkDeviceMemory &t_Memory)
 
VkImageView Fling::GraphicsHelpers::CreateVkImageView (VkImage t_Image, VkFormat t_Format, VkImageAspectFlags t_AspectFalgs)
 Create a an image view for vulkan with the given format. More...
 
VkFormat Fling::GraphicsHelpers::FindSupportedFormat (const std::vector< VkFormat > &t_Candidates, VkImageTiling t_Tiling, VkFormatFeatureFlags t_Features)
 
void Fling::GraphicsHelpers::TransitionImageLayout (VkImage t_Image, VkFormat t_Format, VkImageLayout t_oldLayout, VkImageLayout t_NewLayout)
 
bool Fling::GraphicsHelpers::HasStencilComponent (VkFormat t_format)
 Returns true if the given format has a stencil component. More...