LiteFX::Rendering::Backends::DirectX12ShaderProgramBuilder::withHullShaderModule¶
Adds a tessellation evaluation shader module to the program.
Synopses¶
Declared in <litefx/rendering_builders.hpp>
Adds a tessellation evaluation shader module to the program.
template<typename TSelf>
[[nodiscard]] constexpr TSelf&& withHullShaderModule(this
TSelf&& self,
String const& fileName,
String const& entryPoint = "main");
Adds a tessellation evaluation shader module to the program.
template<typename TSelf>
[[nodiscard]] constexpr TSelf&& withHullShaderModule(this
TSelf&& self,
std::istream& stream,
String const& name,
String const& entryPoint = "main");
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| fileName | The file name of the module. |
| entryPoint | The name of the entry point for the module. |
| stream | The file stream of the module. |
| name | The file name of the module. |