Skip to content

LiteFX::Rendering::Backends::VulkanShaderProgramBuilder

Builds a Vulkan ShaderProgram.

Synopsis

Declared in <litefx/backends/vulkan_builders.hpp>

class [[dllexport, nodiscard]] VulkanShaderProgramBuilder final
    : public ShaderProgramBuilder<VulkanShaderProgram>

Base Classes

NameDescription
ShaderProgramBuilder<VulkanShaderProgram>Base class for a builder that builds a ShaderProgram.

Type Aliases

Member Functions

NameDescription
VulkanShaderProgramBuilder [constructor]Initializes a Vulkan graphics shader program builder.
~VulkanShaderProgramBuilder [destructor] [virtual]Destructor
operator= Assignment operators
withAmplificationShaderModule Adds a task shader module to the program.
withAnyHitShaderModule Adds an any hit shader module to the program.
withCallableShaderModule Adds a callable shader module to the program.
withClosestHitShaderModule Adds a closest hit shader module to the program.
withComputeShaderModule Adds a compute shader module to the program.
withDomainShaderModule Adds a tessellation control shader module to the program.
withFragmentShaderModule Adds a fragment shader module to the program.
withGeometryShaderModule Adds a geometry shader module to the program.
withHullShaderModule Adds a tessellation evaluation shader module to the program.
withIntersectionShaderModule Adds an intersection hit shader module to the program.
withMeshShaderModule Adds a mesh shader module to the program.
withMissShaderModule Adds a miss shader module to the program.
withPixelShaderModule Adds a fragment shader module to the program.
withRayGenerationShaderModule Adds a ray generation shader module to the program.
withShaderModule Adds a shader module to the program.
withTaskShaderModule Adds a task shader module to the program.
withTessellationControlShaderModule Adds a tessellation control shader module to the program.
withTessellationEvaluationShaderModule Adds a tessellation evaluation shader module to the program.
withVertexShaderModule Adds a vertex shader module to the program.

Using Declarations

Protected Member Functions

NameDescription
build [virtual]Can be overwritten to perform any pre-construction work before the builder returns the final object instance.
makeShaderModule makeShaderModule overloads

Return Value

Note

The return value should not be discarded.

See Also

VulkanShaderProgram