Nameless Engine
|
#include <PipelineConfiguration.h>
Public Member Functions | |
std::set< ShaderMacro > | getAdditionalVertexShaderMacros () const |
std::string_view | getVertexShaderName () const |
virtual std::optional< GraphicsPipelineType > | getGraphicsType () const =0 |
virtual std::set< ShaderMacro > | getAdditionalPixelShaderMacros () const |
virtual std::string_view | getPixelShaderName () const |
virtual std::string_view | getComputeShaderName () const |
virtual bool | isPixelBlendingEnabled () const |
virtual bool | isDepthBiasEnabled () const |
virtual std::optional< PipelineShadowMappingUsage > | getShadowMappingUsage () const |
Protected Member Functions | |
PipelineConfiguration (const std::string &sVertexShaderName, const std::set< ShaderMacro > &additionalVertexShaderMacros) | |
Protected Attributes | |
std::set< ShaderMacro > | additionalVertexShaderMacros |
const std::string | sVertexShaderName |
Base class for pipeline options.
|
protected |
Initializes options.
sVertexShaderName | Name of the compiled vertex shader to use (empty if not used). |
additionalVertexShaderMacros | Additional macros to enable for vertex shader configuration. |
|
inlinevirtual |
Returns additional macros to enable for pixel/fragment shader configuration (if pixel/fragment shader is used).
Reimplemented in ne::ColorPipelineConfiguration.
|
inline |
Returns additional macros to enable for vertex shader configuration.
|
inlinevirtual |
Returns name of the compute shader that should be used.
Reimplemented in ne::ComputePipelineConfiguration.
|
pure virtual |
Returns type of the pipeline that the object describes.
Implemented in ne::ColorPipelineConfiguration, ne::DepthPipelineConfiguration, and ne::ComputePipelineConfiguration.
|
inlinevirtual |
Returns name of the pixel/fragment shader that should be used.
Reimplemented in ne::ColorPipelineConfiguration, and ne::DepthPipelineConfiguration.
|
inlinevirtual |
Tells if this pipeline is used in shadow mapping.
Reimplemented in ne::DepthPipelineConfiguration.
|
inline |
Returns name of the vertex shader that should be used.
|
inlinevirtual |
Tells whether depth bias (offset is enabled or not).
true
to enable, false
to disable. Reimplemented in ne::DepthPipelineConfiguration.
|
inlinevirtual |
Tells whether pixel blending should be enabled or not.
true
to enable, false
to disable. Reimplemented in ne::ColorPipelineConfiguration.
|
protected |
Additional macros to enable for vertex shader configuration.
|
protected |
Name of the compiled vertex shader to use.