|
Cogs.Core
|
Contains an effect description used to load a single effect. More...
#include <IEffects.h>
Public Attributes | |
| StringView | vertexShader |
| Vertex shader file name or source. | |
| StringView | hullShader |
| Hull shader file name or source. | |
| StringView | domainShader |
| Domain shader file name or source. | |
| StringView | geometryShader |
| Geometry shader file name or source. | |
| StringView | pixelShader |
| Pixel shader file name or source. | |
| StringView | effect |
| Effect file name or source. | |
| StringView | vsEntryPoint |
| Entry point of the vertex shader. | |
| StringView | hsEntryPoint |
| Entry point of the hull shader. | |
| StringView | dsEntryPoint |
| Entry point of the domain shader. | |
| StringView | gsEntryPoint |
| Entry point of the geometry shader. | |
| StringView | psEntryPoint |
| Entry point of the pixel shader. | |
| StringView | name |
| Name of the effect. Used for tracking purposes, like naming shader dumps. | |
| PreprocessorDefinitions | definitions |
| Definitions. | |
| BindGroupSetDescription | bindGroupLayoutDesc |
| Optional bind-group layout metadata. Backends may use this instead of source introspection. | |
| EffectFlags::EEffectFlags | flags = EffectFlags::None |
| Effect loading flags. | |
| EffectDescriptionType | type = EffectDescriptionType::File |
| Type of effect description. Defaults to file names. | |
Contains an effect description used to load a single effect.
Definition at line 61 of file IEffects.h.
| BindGroupSetDescription Cogs::EffectDescription::bindGroupLayoutDesc |
Optional bind-group layout metadata. Backends may use this instead of source introspection.
Definition at line 103 of file IEffects.h.
| PreprocessorDefinitions Cogs::EffectDescription::definitions |
Definitions.
Definition at line 100 of file IEffects.h.
| StringView Cogs::EffectDescription::domainShader |
Domain shader file name or source.
Definition at line 70 of file IEffects.h.
Referenced by Cogs::EffectsCommon::loadEffect().
| StringView Cogs::EffectDescription::dsEntryPoint |
Entry point of the domain shader.
Definition at line 88 of file IEffects.h.
| StringView Cogs::EffectDescription::effect |
Effect file name or source.
Definition at line 79 of file IEffects.h.
Referenced by Cogs::EffectsCommon::loadEffect().
| EffectFlags::EEffectFlags Cogs::EffectDescription::flags = EffectFlags::None |
Effect loading flags.
Definition at line 106 of file IEffects.h.
| StringView Cogs::EffectDescription::geometryShader |
Geometry shader file name or source.
Definition at line 73 of file IEffects.h.
Referenced by Cogs::EffectsCommon::loadEffect().
| StringView Cogs::EffectDescription::gsEntryPoint |
Entry point of the geometry shader.
Definition at line 91 of file IEffects.h.
| StringView Cogs::EffectDescription::hsEntryPoint |
Entry point of the hull shader.
Definition at line 85 of file IEffects.h.
| StringView Cogs::EffectDescription::hullShader |
Hull shader file name or source.
Definition at line 67 of file IEffects.h.
Referenced by Cogs::EffectsCommon::loadEffect().
| StringView Cogs::EffectDescription::name |
Name of the effect. Used for tracking purposes, like naming shader dumps.
Definition at line 97 of file IEffects.h.
| StringView Cogs::EffectDescription::pixelShader |
Pixel shader file name or source.
Definition at line 76 of file IEffects.h.
Referenced by Cogs::EffectsCommon::loadEffect().
| StringView Cogs::EffectDescription::psEntryPoint |
Entry point of the pixel shader.
Definition at line 94 of file IEffects.h.
| EffectDescriptionType Cogs::EffectDescription::type = EffectDescriptionType::File |
Type of effect description. Defaults to file names.
Definition at line 109 of file IEffects.h.
Referenced by Cogs::EffectsCommon::loadEffect().
| StringView Cogs::EffectDescription::vertexShader |
Vertex shader file name or source.
Definition at line 64 of file IEffects.h.
Referenced by Cogs::EffectsCommon::loadEffect().
| StringView Cogs::EffectDescription::vsEntryPoint |
Entry point of the vertex shader.
Definition at line 82 of file IEffects.h.