KarmaEngine
Game Engine for practical learning and research purposes
|
A data structure for Vulkan's initialization done in KarmaGuiRenderer::KarmaGui_ImplVulkan_Init() More...
#include <KarmaGuiVulkanHandler.h>
Public Attributes | |
VkInstance | Instance |
The handle to Vulkan's instance object, for use in backend. | |
VkPhysicalDevice | PhysicalDevice |
The handle to the Vulkan's software representaion of GPU, for use in backend. | |
VkDevice | Device |
A logical device handle. Device is an appropriate instance using which swapchains, framebuffers, and all such Vulkan resources are instantiated and created. For use in backend. | |
uint32_t | QueueFamily |
Graphics queue family (valued in unsigned integer) properties used for creating commandpool, swapchain, and logical device. For backend. | |
VkQueue | Queue |
Opaque handle to a queue object. For backend submission of queues via vkQueueSubmit. | |
VkDescriptorPool | DescriptorPool |
A fresh descriptor pool created in KarmaGuiRenderer::CreateDescriptorPool() (seperate from VulkanVertexArray::CreateDescriptorPool()) for the uniforms and texture purposes. In this backend chiefly for KarmaGuiVulkanHandler::KarmaGui_ImplVulkan_AddTexture routine. | |
VkRenderPass | RenderPass |
A handle to render pass object which represents a collection of attachments (depth attachment or colo(u)r attachment ), subpasses, and dependencies between the subpasses, and describes how the attachments are used over the course of the subpasses. Taken from the one created in VulkanContext::CreateRenderPass(). | |
VkPipelineCache | PipelineCache |
Usually this cache is set to VK_NULL_HANDLE, indicating that pipeline caching is disabled; or the handle of a valid pipeline cache object, in which case use of that cache is enabled for the duration of the command. | |
uint32_t | Subpass |
Not sure what the sue of this Subpass is. Seems vestigial? | |
uint32_t | MinImageCount |
The minimum number of images the specified device supports for a swapchain created for the surface, and will be at least one plus one. | |
uint32_t | ImageCount |
The number of elements in the pSwapchainImages array, i.e number of presentable swapchain images available (vkGetSwapchainImagesKHR). | |
VkSampleCountFlagBits | MSAASamples |
Is a VkSampleCountFlagBits value specifying the number of samples used in rasterization. This value is ignored for the purposes of setting the number of samples used in rasterization if the pipeline is created with the VK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXT dynamic state set, but if VK_DYNAMIC_STATE_SAMPLE_MASK_EXT dynamic state is not set, it is still used to define the size of the pSampleMask array. | |
const VkAllocationCallbacks * | Allocator |
A pointer to a valid VkAllocationCallbacks structure. Structure containing callback function pointers for memory allocation. | |
A data structure for Vulkan's initialization done in KarmaGuiRenderer::KarmaGui_ImplVulkan_Init()
Mostly, with the exception of DescriptorPool, the handles are referring to the objects, instantiated by VulkanContext::Init() function, set via KarmaGuiRenderer::SetUpKarmaGuiRenderer
const VkAllocationCallbacks* Karma::KarmaGui_ImplVulkan_InitInfo::Allocator |
A pointer to a valid VkAllocationCallbacks structure. Structure containing callback function pointers for memory allocation.
VkDescriptorPool Karma::KarmaGui_ImplVulkan_InitInfo::DescriptorPool |
A fresh descriptor pool created in KarmaGuiRenderer::CreateDescriptorPool() (seperate from VulkanVertexArray::CreateDescriptorPool()) for the uniforms and texture purposes. In this backend chiefly for KarmaGuiVulkanHandler::KarmaGui_ImplVulkan_AddTexture routine.
VkDevice Karma::KarmaGui_ImplVulkan_InitInfo::Device |
A logical device handle. Device is an appropriate instance using which swapchains, framebuffers, and all such Vulkan resources are instantiated and created. For use in backend.
uint32_t Karma::KarmaGui_ImplVulkan_InitInfo::ImageCount |
The number of elements in the pSwapchainImages array, i.e number of presentable swapchain images available (vkGetSwapchainImagesKHR).
VkInstance Karma::KarmaGui_ImplVulkan_InitInfo::Instance |
The handle to Vulkan's instance object, for use in backend.
uint32_t Karma::KarmaGui_ImplVulkan_InitInfo::MinImageCount |
The minimum number of images the specified device supports for a swapchain created for the surface, and will be at least one plus one.
VkSampleCountFlagBits Karma::KarmaGui_ImplVulkan_InitInfo::MSAASamples |
Is a VkSampleCountFlagBits value specifying the number of samples used in rasterization. This value is ignored for the purposes of setting the number of samples used in rasterization if the pipeline is created with the VK_DYNAMIC_STATE_RASTERIZATION_SAMPLES_EXT dynamic state set, but if VK_DYNAMIC_STATE_SAMPLE_MASK_EXT dynamic state is not set, it is still used to define the size of the pSampleMask array.
VkPhysicalDevice Karma::KarmaGui_ImplVulkan_InitInfo::PhysicalDevice |
The handle to the Vulkan's software representaion of GPU, for use in backend.
VkPipelineCache Karma::KarmaGui_ImplVulkan_InitInfo::PipelineCache |
Usually this cache is set to VK_NULL_HANDLE, indicating that pipeline caching is disabled; or the handle of a valid pipeline cache object, in which case use of that cache is enabled for the duration of the command.
VkQueue Karma::KarmaGui_ImplVulkan_InitInfo::Queue |
Opaque handle to a queue object. For backend submission of queues via vkQueueSubmit.
uint32_t Karma::KarmaGui_ImplVulkan_InitInfo::QueueFamily |
Graphics queue family (valued in unsigned integer) properties used for creating commandpool, swapchain, and logical device. For backend.
For instance Queue family #0 supports transfer, graphics, compute, and presentation
VkRenderPass Karma::KarmaGui_ImplVulkan_InitInfo::RenderPass |
A handle to render pass object which represents a collection of attachments (depth attachment or colo(u)r attachment ), subpasses, and dependencies between the subpasses, and describes how the attachments are used over the course of the subpasses. Taken from the one created in VulkanContext::CreateRenderPass().
uint32_t Karma::KarmaGui_ImplVulkan_InitInfo::Subpass |
Not sure what the sue of this Subpass is. Seems vestigial?