LiteFX::Rendering::Backends::DirectX12ShaderProgramBuilder::withGeometryShaderModule¶
Adds a geometry shader module to the program.
Synopsis¶
Declared in <litefx/rendering_builders.hpp>
template<typename TSelf>
[[nodiscard]] constexpr TSelf&& withGeometryShaderModule(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 |
|---|---|
| stream | The file stream of the module. |
| name | The file name of the module. |
| entryPoint | The name of the entry point for the module. |