Skip to content

LiteFX::Rendering::ShaderProgramBuilder::withTessellationControlShaderModule

Adds a tessellation control shader module to the program.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
[[nodiscard]] constexpr TSelf&& withTessellationControlShaderModule(this 
    TSelf&& self,
    std::istream& stream,
    String const& name,
    String const& entryPoint = "main");

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
streamThe file stream of the module.
nameThe file name of the module.
entryPointThe name of the entry point for the module.