Nebula
|
#include <vktypes.h>
Classes | |
struct | VkBlockDimensions |
Static Public Member Functions | |
static VkFormat | AsVkFormat (CoreGraphics::PixelFormat::Code p) |
convert Nebula pixel format to Vulkan pixel format | |
static bool | IsCompressedFormat (VkFormat p) |
returns true if format is compressed | |
static VkBlockDimensions | AsVkBlockSize (CoreGraphics::PixelFormat::Code p) |
convert pixel format to block size | |
static VkBlockDimensions | AsVkBlockSize (VkFormat fmt) |
convert pixel format to block size | |
static VkFormat | AsVkMappableImageFormat (VkFormat fmt) |
convert Vulkan image compressed format to one which is mappable | |
static VkFormat | AsVkDataFormat (CoreGraphics::PixelFormat::Code p) |
convert Nebula pixel format to Vulkan data format | |
static VkSampleCountFlagBits | AsVkSampleFlags (const SizeT samples) |
convert uint to vulkan sample count | |
static VkImageType | AsVkImageType (CoreGraphics::TextureType type) |
convert texture type to vk image type | |
static VkImageViewType | AsVkImageViewType (CoreGraphics::TextureType type) |
convert texture type to vk view type | |
static CoreGraphics::PixelFormat::Code | AsNebulaPixelFormat (VkFormat f) |
convert vulkan format back to nebula format | |
static VkImageAspectFlags | AsVkImageAspectFlags (const CoreGraphics::ImageBits bits) |
convert image aspects to Vulkan | |
static VkShaderStageFlags | AsVkShaderVisibility (const CoreGraphics::ShaderVisibility vis) |
convert shader visibility to vulkan | |
static VkImageLayout | AsVkImageLayout (const CoreGraphics::ImageLayout layout) |
convert image layout to vulkan | |
static VkPipelineStageFlags | AsVkPipelineStage (const CoreGraphics::PipelineStage stage) |
Convert pipeline stage to Vk pipeline stage. | |
static VkAccessFlags | AsVkAccessFlags (const CoreGraphics::PipelineStage stage) |
Convert pipeline stage and pipeline access to Vk access flags. | |
static VkImageLayout | AsVkImageLayout (const CoreGraphics::PipelineStage stage, bool depthStencil=false) |
Convert pipeline stage to image layout. | |
static VkPrimitiveTopology | AsVkPrimitiveType (CoreGraphics::PrimitiveTopology::Code t) |
convert primitive topology to vulkan | |
static uint32_t | AsVkSize (CoreGraphics::VertexComponent::Format f) |
convert vertex format to size | |
static uint32_t | AsVkNumComponents (CoreGraphics::VertexComponent::Format f) |
convert vertex format to number of components | |
static VkFormat | AsVkVertexType (CoreGraphics::VertexComponent::Format f) |
convert vertex component type to OGL4 symbolic type (single-element) | |
|
static |
convert vulkan format back to nebula format
|
static |
Convert pipeline stage and pipeline access to Vk access flags.
|
static |
convert pixel format to block size
|
static |
convert pixel format to block size
|
static |
|
static |
|
static |
convert image aspects to Vulkan
|
static |
convert image layout to vulkan
|
static |
Convert pipeline stage to image layout.
|
static |
convert texture type to vk image type
|
static |
convert texture type to vk view type
|
static |
convert Vulkan image compressed format to one which is mappable
|
static |
convert vertex format to number of components
|
static |
Convert pipeline stage to Vk pipeline stage.
|
static |
convert primitive topology to vulkan
|
static |
convert uint to vulkan sample count
|
static |
convert shader visibility to vulkan
|
static |
convert vertex format to size
|
static |
convert vertex component type to OGL4 symbolic type (single-element)
|
static |
returns true if format is compressed