Cogs.Rendering
Loading...
Searching...
No Matches
Public Attributes | List of all members
Cogs::EffectDescription Struct Reference

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.
 
EffectFlags::EEffectFlags flags = EffectFlags::None
 Effect loading flags.
 
EffectDescriptionType type = EffectDescriptionType::File
 Type of effect description. Defaults to file names.
 

Detailed Description

Contains an effect description used to load a single effect.

Member Data Documentation

◆ definitions

PreprocessorDefinitions Cogs::EffectDescription::definitions

Definitions.

◆ domainShader

StringView Cogs::EffectDescription::domainShader

Domain shader file name or source.

◆ dsEntryPoint

StringView Cogs::EffectDescription::dsEntryPoint

Entry point of the domain shader.

◆ effect

StringView Cogs::EffectDescription::effect

Effect file name or source.

◆ flags

EffectFlags::EEffectFlags Cogs::EffectDescription::flags = EffectFlags::None

Effect loading flags.

◆ geometryShader

StringView Cogs::EffectDescription::geometryShader

Geometry shader file name or source.

◆ gsEntryPoint

StringView Cogs::EffectDescription::gsEntryPoint

Entry point of the geometry shader.

◆ hsEntryPoint

StringView Cogs::EffectDescription::hsEntryPoint

Entry point of the hull shader.

◆ hullShader

StringView Cogs::EffectDescription::hullShader

Hull shader file name or source.

◆ name

StringView Cogs::EffectDescription::name

Name of the effect. Used for tracking purposes, like naming shader dumps.

◆ pixelShader

StringView Cogs::EffectDescription::pixelShader

Pixel shader file name or source.

◆ psEntryPoint

StringView Cogs::EffectDescription::psEntryPoint

Entry point of the pixel shader.

◆ type

EffectDescriptionType Cogs::EffectDescription::type = EffectDescriptionType::File

Type of effect description. Defaults to file names.

◆ vertexShader

StringView Cogs::EffectDescription::vertexShader

Vertex shader file name or source.

◆ vsEntryPoint

StringView Cogs::EffectDescription::vsEntryPoint

Entry point of the vertex shader.


The documentation for this struct was generated from the following file: