Crafter.Graphics
C++ graphics library using Wayland and Vulkan.
 
Loading...
Searching...
No Matches
Crafter::VulkanPipeline< MeshShader, FragmentShader > Class Template Referenceexport

A generic Vulkan graphics pipeline wrapper using template-based shaders. More...

Static Public Member Functions

static void CreatePipeline ()
 Creates the vulkan pipeline, this must be called before any use of this pipeline and all shaders must be created before this pipeline is created.
 

Static Public Attributes

static VkPipeline pipeline
 
static VkPipelineLayout pipelineLayout
 

Friends

class DescriptorSet< MeshShader, FragmentShader >
 

Detailed Description

template<typename MeshShader, typename FragmentShader>
class Crafter::VulkanPipeline< MeshShader, FragmentShader >

A generic Vulkan graphics pipeline wrapper using template-based shaders.

This class encapsulates the creation and management of a Vulkan graphics pipeline with a specified mesh shader and fragment shader. It provides static members for the pipeline, pipeline layout, and descriptor set layouts, which are shared across all instances of this template specialization.

Template Parameters
MeshShaderThe mesh shader type used in the pipeline.
FragmentShaderThe fragment shader type used in the pipeline.
Note
Before using this pipeline, the CreatePipeline() function must be called, and all shader modules specified by the template parameters must be created.

The documentation for this class was generated from the following file: