|
CeresEngine 0.2.0
A game development framework
|
Descriptor structure for shader programs. More...
#include <CeresEngine/RenderAPI/GPUShader.hpp>
Static Public Member Functions | |
| template<typename Processor > | |
| static constexpr void | reflect (Processor &&RTTI) |
| Executes the given processor for every field of the struct. | |
Public Attributes | |
| GPUShaderProgramStageDescriptor | vertex |
| Specifies the vertex shader. | |
| GPUShaderProgramStageDescriptor | tesselationControl |
| Specifies the tessellation-control shader (also referred to as "Hull Shader"). | |
| GPUShaderProgramStageDescriptor | tesselationEvaluation |
| Specifies the tessellation-evaluation shader (also referred to as "Domain Shader"). | |
| GPUShaderProgramStageDescriptor | geometry |
| Specifies an optional geometry shader. | |
| GPUShaderProgramStageDescriptor | fragment |
| Specifies an optional fragment shader (also referred to as "Pixel Shader"). | |
| GPUShaderProgramStageDescriptor | compute |
| Specifies the compute shader. | |
| String | name |
| A user-facing name for the shader program. | |
Descriptor structure for shader programs.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
| GPUShaderProgramStageDescriptor CeresEngine::GPUShaderProgramDescriptor::compute |
Specifies the compute shader.
| GPUShaderProgramStageDescriptor CeresEngine::GPUShaderProgramDescriptor::fragment |
Specifies an optional fragment shader (also referred to as "Pixel Shader").
| GPUShaderProgramStageDescriptor CeresEngine::GPUShaderProgramDescriptor::geometry |
Specifies an optional geometry shader.
| String CeresEngine::GPUShaderProgramDescriptor::name |
A user-facing name for the shader program.
This is only used for debugging.
| GPUShaderProgramStageDescriptor CeresEngine::GPUShaderProgramDescriptor::tesselationControl |
Specifies the tessellation-control shader (also referred to as "Hull Shader").
tesselationEvaluation). | GPUShaderProgramStageDescriptor CeresEngine::GPUShaderProgramDescriptor::tesselationEvaluation |
Specifies the tessellation-evaluation shader (also referred to as "Domain Shader").
tesselationControl). | GPUShaderProgramStageDescriptor CeresEngine::GPUShaderProgramDescriptor::vertex |
Specifies the vertex shader.