Class ShaderVariant¶
Defined in File shader.h
Inheritance Relationships¶
Derived Type¶
public portal::renderer::vulkan::VulkanShaderVariant(Class VulkanShaderVariant)
Class Documentation¶
-
class ShaderVariant¶
Compiled shader variant with reflection metadata.
Represents a single compiled shader permutation with specific defines. Provides access to reflection data and shader resources.
Subclassed by portal::renderer::vulkan::VulkanShaderVariant
Public Functions
-
virtual ~ShaderVariant() = default¶
-
virtual const std::unordered_map<StringId, shader_reflection::ShaderResourceDeclaration> &get_shader_resources() const = 0¶
Gets shader resource declarations.
-
virtual const ShaderReflection &get_reflection() const = 0¶
Gets shader reflection data.
-
virtual ~ShaderVariant() = default¶