LiteFX 0.3.1.2022
Computer Graphics Engine
LiteFX::Rendering::Backends::Vk Namespace Reference

Contains conversion helpers for Vulkan. More...

Functions

Format LITEFX_VULKAN_API getFormat (const VkFormat &format)
 
VkFormat LITEFX_VULKAN_API getFormat (const Format &format)
 
VkFormat LITEFX_VULKAN_API getFormat (const BufferFormat &format)
 
PolygonMode LITEFX_VULKAN_API getPolygonMode (const VkPolygonMode &mode)
 
VkPolygonMode LITEFX_VULKAN_API getPolygonMode (const PolygonMode &mode)
 
CullMode LITEFX_VULKAN_API getCullMode (const VkCullModeFlags &mode)
 
VkCullModeFlags LITEFX_VULKAN_API getCullMode (const CullMode &mode)
 
PrimitiveTopology LITEFX_VULKAN_API getPrimitiveTopology (const VkPrimitiveTopology &topology)
 
VkPrimitiveTopology LITEFX_VULKAN_API getPrimitiveTopology (const PrimitiveTopology &topology)
 
ShaderStage LITEFX_VULKAN_API getShaderStage (const VkShaderStageFlagBits &shaderType)
 
VkShaderStageFlagBits LITEFX_VULKAN_API getShaderStage (const ShaderStage &shaderType)
 
MultiSamplingLevel LITEFX_VULKAN_API getSamples (const VkSampleCountFlagBits &samples)
 
VkImageType LITEFX_VULKAN_API getImageType (const ImageDimensions &dimension)
 
VkImageViewType LITEFX_VULKAN_API getImageViewType (const ImageDimensions &dimension, const UInt32 &layers=1)
 
VkSampleCountFlagBits LITEFX_VULKAN_API getSamples (const MultiSamplingLevel &samples)
 
VkCompareOp LITEFX_VULKAN_API getCompareOp (const CompareOperation &compareOp)
 
VkStencilOp LITEFX_VULKAN_API getStencilOp (const StencilOperation &stencilOp)
 
VkBlendFactor LITEFX_VULKAN_API getBlendFactor (const BlendFactor &blendFactor)
 
VkBlendOp LITEFX_VULKAN_API getBlendOperation (const BlendOperation &blendOperation)
 
VkImageLayout LITEFX_VULKAN_API getImageLayout (const ResourceState &resourceState)
 
VkAccessFlags LITEFX_VULKAN_API getAccessFlags (const ResourceState &resourceState)
 

Detailed Description

Contains conversion helpers for Vulkan.

Function Documentation

◆ getAccessFlags()

VkAccessFlags LITEFX_VULKAN_API LiteFX::Rendering::Backends::Vk::getAccessFlags ( const ResourceState &  resourceState)

◆ getBlendFactor()

VkBlendFactor LITEFX_VULKAN_API LiteFX::Rendering::Backends::Vk::getBlendFactor ( const BlendFactor &  blendFactor)

◆ getBlendOperation()

VkBlendOp LITEFX_VULKAN_API LiteFX::Rendering::Backends::Vk::getBlendOperation ( const BlendOperation &  blendOperation)

◆ getCompareOp()

VkCompareOp LiteFX::Rendering::Backends::Vk::getCompareOp ( const CompareOperation &  compareOp)

◆ getCullMode() [1/2]

VkCullModeFlags LiteFX::Rendering::Backends::Vk::getCullMode ( const CullMode &  mode)

◆ getCullMode() [2/2]

CullMode LiteFX::Rendering::Backends::Vk::getCullMode ( const VkCullModeFlags &  mode)

◆ getFormat() [1/3]

VkFormat LiteFX::Rendering::Backends::Vk::getFormat ( const BufferFormat &  format)

◆ getFormat() [2/3]

VkFormat LiteFX::Rendering::Backends::Vk::getFormat ( const Format &  format)

◆ getFormat() [3/3]

Format LiteFX::Rendering::Backends::Vk::getFormat ( const VkFormat &  format)

◆ getImageLayout()

VkImageLayout LITEFX_VULKAN_API LiteFX::Rendering::Backends::Vk::getImageLayout ( const ResourceState &  resourceState)

◆ getImageType()

VkImageType LiteFX::Rendering::Backends::Vk::getImageType ( const ImageDimensions &  dimension)

◆ getImageViewType()

VkImageViewType LiteFX::Rendering::Backends::Vk::getImageViewType ( const ImageDimensions &  dimension,
const UInt32 layers = 1 
)

◆ getPolygonMode() [1/2]

VkPolygonMode LiteFX::Rendering::Backends::Vk::getPolygonMode ( const PolygonMode &  mode)

◆ getPolygonMode() [2/2]

PolygonMode LiteFX::Rendering::Backends::Vk::getPolygonMode ( const VkPolygonMode &  mode)

◆ getPrimitiveTopology() [1/2]

VkPrimitiveTopology LiteFX::Rendering::Backends::Vk::getPrimitiveTopology ( const PrimitiveTopology &  topology)

◆ getPrimitiveTopology() [2/2]

PrimitiveTopology LiteFX::Rendering::Backends::Vk::getPrimitiveTopology ( const VkPrimitiveTopology &  topology)

◆ getSamples() [1/2]

VkSampleCountFlagBits LiteFX::Rendering::Backends::Vk::getSamples ( const MultiSamplingLevel &  samples)

◆ getSamples() [2/2]

MultiSamplingLevel LiteFX::Rendering::Backends::Vk::getSamples ( const VkSampleCountFlagBits &  samples)

◆ getShaderStage() [1/2]

VkShaderStageFlagBits LiteFX::Rendering::Backends::Vk::getShaderStage ( const ShaderStage &  shaderType)

◆ getShaderStage() [2/2]

ShaderStage LiteFX::Rendering::Backends::Vk::getShaderStage ( const VkShaderStageFlagBits &  shaderType)

◆ getStencilOp()

VkStencilOp LiteFX::Rendering::Backends::Vk::getStencilOp ( const StencilOperation &  stencilOp)