Skip to content

LiteFX::Rendering::Backends::DirectX12ShaderProgramBuilder::withAmplificationShaderModule

Adds a task shader module to the program.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
[[nodiscard]] constexpr TSelf&& withAmplificationShaderModule(this 
    TSelf&& self,
    String const& fileName,
    String const& entryPoint = "main");

Description

This method is only supported if the GraphicsDeviceFeatures::MeshShaders feature is enabled.

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
fileNameThe file name of the module.
entryPointThe name of the entry point for the module.