Skip to content

LiteFX::Rendering::Backends::VulkanShaderProgram

Implements a Vulkan ShaderProgram.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

class [[dllimport, dllexport]] VulkanShaderProgram final
    : public ShaderProgram<VulkanShaderModule>

Base Classes

NameDescription
ShaderProgram<VulkanShaderModule>Represents a shader program, consisting of multiple IShaderModule "IShaderModules".

Type Aliases

Member Functions

NameDescription
VulkanShaderProgram [constructor]Constructors
~VulkanShaderProgram [destructor] [virtual]Destructor
operator= Assignment operators
modules [virtual]Returns the modules, the shader program is build from.
reflectPipelineLayout Uses shader reflection to extract the pipeline layout of a shader. May not be available in all backends.

Static Member Functions

NameDescription
create Creates a new Vulkan shader program.

Protected Member Functions

NameDescription
operator= Assignment operators

Friends

NameDescription
LiteFX::SharedObject::AllocatorAn allocator used to allocate the shared object.
LiteFX::Rendering::Backends::VulkanShaderProgramBuilderBuilds a Vulkan ShaderProgram.
LiteFX::Rendering::Backends::VulkanShaderProgram::VulkanShaderProgramImpl
LiteFX::PimplPtrA smart pointer that manages an implementation instance for a public interface class.

See Also

VulkanShaderProgramBuilder

VulkanShaderModule

https://github.com/crud89/LiteFX/wiki/Shader-Development