Lugdunum  0.1.0
Namespaces | Macros | Functions
Enum.hpp File Reference
#include <lug/Graphics/Vulkan/Vulkan.hpp>
Include dependency graph for Enum.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 lug
 
 lug::Graphics
 
 lug::Graphics::Vulkan
 
 lug::Graphics::Vulkan::API
 
 lug::Graphics::Vulkan::API::RTTI
 

Macros

#define LUG_VULKAN_PHYSICAL_DEVICE_TYPE(macro)
 
#define LUG_VULKAN_FORMAT(macro)
 
#define LUG_VULKAN_COLOR_SPACE_KHR(macro)   macro(VK_COLOR_SPACE_SRGB_NONLINEAR_KHR)
 
#define LUG_VULKAN_PRESENT_MODE_KHR(macro)
 
#define LUG_VULKAN_MEMORY_PROPERTY_BIT(macro)
 
#define LUG_VULKAN_QUEUE_BIT(macro)
 
#define LUG_VULKAN_FORMAT_FEATURE_BIT(macro)
 
#define LUG_VULKAN_MEMORY_HEAP_BIT(macro)   macro(VK_MEMORY_HEAP_DEVICE_LOCAL_BIT)
 
#define LUG_VULKAN_IMAGE_USAGE_BIT(macro)
 
#define LUG_VULKAN_SAMPLE_COUNT_BIT(macro)
 
#define LUG_VULKAN_SURFACE_TRANSFORM_KHR_BIT(macro)
 
#define LUG_VULKAN_COMPOSITE_ALPHA_KHR_BIT(macro)
 

Functions

const char * lug::Graphics::Vulkan::API::RTTI::toStr (VkResult enumVal)
 
const char * lug::Graphics::Vulkan::API::RTTI::toStr (VkPhysicalDeviceType enumVal)
 
const char * lug::Graphics::Vulkan::API::RTTI::toStr (VkFormat enumVal)
 
const char * lug::Graphics::Vulkan::API::RTTI::toStr (VkColorSpaceKHR enumVal)
 
const char * lug::Graphics::Vulkan::API::RTTI::toStr (VkPresentModeKHR enumVal)
 
const char * lug::Graphics::Vulkan::API::RTTI::toStr (VkSurfaceTransformFlagBitsKHR enumVal)
 
const char * lug::Graphics::Vulkan::API::RTTI::toStr (VkCompositeAlphaFlagBitsKHR enumVal)
 
std::vector< const char * > lug::Graphics::Vulkan::API::RTTI::VkMemoryPropertyFlagsToStrVec (VkMemoryPropertyFlags flag)
 
std::vector< const char * > lug::Graphics::Vulkan::API::RTTI::VkQueueFlagsToStrVec (VkQueueFlags flag)
 
std::vector< const char * > lug::Graphics::Vulkan::API::RTTI::VkFormatFeatureFlagsToStrVec (VkFormatFeatureFlags flag)
 
std::vector< const char * > lug::Graphics::Vulkan::API::RTTI::VkMemoryHeapFlagsToStrVec (VkMemoryHeapFlags flag)
 
std::vector< const char * > lug::Graphics::Vulkan::API::RTTI::VkImageUsageFlagsToStrVec (VkImageUsageFlags flag)
 
std::vector< const char * > lug::Graphics::Vulkan::API::RTTI::VkSampleCountFlagsToStrVec (VkSampleCountFlags flag)
 
std::vector< const char * > lug::Graphics::Vulkan::API::RTTI::VkSurfaceTransformFlagsKHRToStrVec (VkSurfaceTransformFlagsKHR flag)
 
std::vector< const char * > lug::Graphics::Vulkan::API::RTTI::VkCompositeAlphaFlagsKHRToStrVec (VkCompositeAlphaFlagsKHR flag)
 
std::string lug::Graphics::Vulkan::API::RTTI::VkMemoryPropertyFlagsToStr (VkMemoryPropertyFlags flag)
 
std::string lug::Graphics::Vulkan::API::RTTI::VkQueueFlagsToStr (VkQueueFlags flag)
 
std::string lug::Graphics::Vulkan::API::RTTI::VkFormatFeatureFlagsToStr (VkFormatFeatureFlags flag)
 
std::string lug::Graphics::Vulkan::API::RTTI::VkMemoryHeapFlagsToStr (VkMemoryHeapFlags flag)
 
std::string lug::Graphics::Vulkan::API::RTTI::VkImageUsageFlagsToStr (VkImageUsageFlags flag)
 
std::string lug::Graphics::Vulkan::API::RTTI::VkSampleCountFlagsToStr (VkSampleCountFlags flag)
 
std::string lug::Graphics::Vulkan::API::RTTI::VkSurfaceTransformFlagsKHRToStr (VkSurfaceTransformFlagsKHR flag)
 
std::string lug::Graphics::Vulkan::API::RTTI::VkCompositeAlphaFlagsKHRToStr (VkCompositeAlphaFlagsKHR flag)
 

Macro Definition Documentation

◆ LUG_VULKAN_PHYSICAL_DEVICE_TYPE

#define LUG_VULKAN_PHYSICAL_DEVICE_TYPE (   macro)
Value:
macro(VK_PHYSICAL_DEVICE_TYPE_OTHER) \
macro(VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU) \
macro(VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU) \
macro(VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU) \
macro(VK_PHYSICAL_DEVICE_TYPE_CPU)

Definition at line 3 of file Enum.hpp.

◆ LUG_VULKAN_FORMAT

#define LUG_VULKAN_FORMAT (   macro)

Definition at line 10 of file Enum.hpp.

◆ LUG_VULKAN_COLOR_SPACE_KHR

#define LUG_VULKAN_COLOR_SPACE_KHR (   macro)    macro(VK_COLOR_SPACE_SRGB_NONLINEAR_KHR)

Definition at line 197 of file Enum.hpp.

◆ LUG_VULKAN_PRESENT_MODE_KHR

#define LUG_VULKAN_PRESENT_MODE_KHR (   macro)
Value:
macro(VK_PRESENT_MODE_IMMEDIATE_KHR) \
macro(VK_PRESENT_MODE_MAILBOX_KHR) \
macro(VK_PRESENT_MODE_FIFO_KHR) \
macro(VK_PRESENT_MODE_FIFO_RELAXED_KHR)

Definition at line 200 of file Enum.hpp.

◆ LUG_VULKAN_MEMORY_PROPERTY_BIT

#define LUG_VULKAN_MEMORY_PROPERTY_BIT (   macro)
Value:
macro(VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) \
macro(VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT) \
macro(VK_MEMORY_PROPERTY_HOST_COHERENT_BIT) \
macro(VK_MEMORY_PROPERTY_HOST_CACHED_BIT) \
macro(VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT)

Definition at line 207 of file Enum.hpp.

◆ LUG_VULKAN_QUEUE_BIT

#define LUG_VULKAN_QUEUE_BIT (   macro)
Value:
macro(VK_QUEUE_GRAPHICS_BIT) \
macro(VK_QUEUE_COMPUTE_BIT) \
macro(VK_QUEUE_TRANSFER_BIT) \
macro(VK_QUEUE_SPARSE_BINDING_BIT)

Definition at line 214 of file Enum.hpp.

◆ LUG_VULKAN_FORMAT_FEATURE_BIT

#define LUG_VULKAN_FORMAT_FEATURE_BIT (   macro)
Value:
macro(VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT) \
macro(VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT) \
macro(VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT) \
macro(VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT) \
macro(VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT) \
macro(VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT) \
macro(VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT) \
macro(VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT) \
macro(VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT) \
macro(VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT) \
macro(VK_FORMAT_FEATURE_BLIT_SRC_BIT) \
macro(VK_FORMAT_FEATURE_BLIT_DST_BIT) \
macro(VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT) \
macro(VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG)

Definition at line 239 of file Enum.hpp.

◆ LUG_VULKAN_MEMORY_HEAP_BIT

#define LUG_VULKAN_MEMORY_HEAP_BIT (   macro)    macro(VK_MEMORY_HEAP_DEVICE_LOCAL_BIT)

Definition at line 256 of file Enum.hpp.

◆ LUG_VULKAN_IMAGE_USAGE_BIT

#define LUG_VULKAN_IMAGE_USAGE_BIT (   macro)
Value:
macro(VK_IMAGE_USAGE_TRANSFER_SRC_BIT) \
macro(VK_IMAGE_USAGE_TRANSFER_DST_BIT) \
macro(VK_IMAGE_USAGE_SAMPLED_BIT) \
macro(VK_IMAGE_USAGE_STORAGE_BIT) \
macro(VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT) \
macro(VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT) \
macro(VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT) \
macro(VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT)

Definition at line 259 of file Enum.hpp.

◆ LUG_VULKAN_SAMPLE_COUNT_BIT

#define LUG_VULKAN_SAMPLE_COUNT_BIT (   macro)
Value:
macro(VK_SAMPLE_COUNT_1_BIT) \
macro(VK_SAMPLE_COUNT_2_BIT) \
macro(VK_SAMPLE_COUNT_4_BIT) \
macro(VK_SAMPLE_COUNT_8_BIT) \
macro(VK_SAMPLE_COUNT_16_BIT) \
macro(VK_SAMPLE_COUNT_32_BIT) \
macro(VK_SAMPLE_COUNT_64_BIT)

Definition at line 269 of file Enum.hpp.

◆ LUG_VULKAN_SURFACE_TRANSFORM_KHR_BIT

#define LUG_VULKAN_SURFACE_TRANSFORM_KHR_BIT (   macro)
Value:
macro(VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR) \
macro(VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR) \
macro(VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR) \
macro(VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR) \
macro(VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR) \
macro(VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR) \
macro(VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR) \
macro(VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR) \
macro(VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR)

Definition at line 278 of file Enum.hpp.

◆ LUG_VULKAN_COMPOSITE_ALPHA_KHR_BIT

#define LUG_VULKAN_COMPOSITE_ALPHA_KHR_BIT (   macro)
Value:
macro(VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR) \
macro(VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR) \
macro(VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR) \
macro(VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR)

Definition at line 289 of file Enum.hpp.