#include <PipelineConfiguration.h>
Pipeline that uses a compute shader.
◆ ComputePipelineConfiguration()
ne::ComputePipelineConfiguration::ComputePipelineConfiguration |
( |
const std::string & |
sComputeShaderName | ) |
|
Initializes options.
- Parameters
-
sComputeShaderName | Name of the compute shader to use. |
◆ getComputeShaderName()
std::string_view ne::ComputePipelineConfiguration::getComputeShaderName |
( |
| ) |
const |
|
overridevirtual |
Returns name of the compute shader that should be used.
- Returns
- Empty string if compute shader is not used, otherwise name of the compiled shader.
Reimplemented from ne::PipelineConfiguration.
◆ getGraphicsType()
std::optional< GraphicsPipelineType > ne::ComputePipelineConfiguration::getGraphicsType |
( |
| ) |
const |
|
overridevirtual |
◆ sComputeShaderName
const std::string ne::ComputePipelineConfiguration::sComputeShaderName |
|
private |
Name of a compiled compute shader to use.
The documentation for this class was generated from the following files:
- src/engine_lib/private/render/general/pipeline/PipelineConfiguration.h
- src/engine_lib/private/render/general/pipeline/PipelineConfiguration.cpp