Cogs.Core
|
Defines a loadable effect. More...
#include <EffectDefinition.h>
Public Attributes | |
std::string | name |
Name of the effect. | |
MeshStreamsLayout | streamsLayout |
The vertex layout this effect expects. | |
ShaderDefinition | vertexShader |
ShaderDefinition | hullShader |
ShaderDefinition | domainShader |
ShaderDefinition | geometryShader |
ShaderDefinition | pixelShader |
ShaderDefinition | computeShader |
std::vector< std::string > | dependencies |
PreprocessorDefinitions | definitions |
Preprocessor definitions. | |
EffectDefinitionFlags | flags = EffectDefinitionFlags::None |
Defines a loadable effect.
Definition at line 86 of file EffectDefinition.h.
ShaderDefinition Cogs::Core::EffectDefinition::computeShader |
Definition at line 104 of file EffectDefinition.h.
PreprocessorDefinitions Cogs::Core::EffectDefinition::definitions |
Preprocessor definitions.
Definition at line 112 of file EffectDefinition.h.
Referenced by Cogs::Core::MaterialManager::loadMaterialVariant().
std::vector<std::string> Cogs::Core::EffectDefinition::dependencies |
Names of shader dependencies. All names given here are combined with platform-specific information to form the final list of dependency paths for the effect. The EffectManager will try to resolve all dependencies before actually loading the effect.
Definition at line 109 of file EffectDefinition.h.
Referenced by Cogs::Core::EffectManager::loadEffect().
ShaderDefinition Cogs::Core::EffectDefinition::domainShader |
Definition at line 98 of file EffectDefinition.h.
EffectDefinitionFlags Cogs::Core::EffectDefinition::flags = EffectDefinitionFlags::None |
Definition at line 114 of file EffectDefinition.h.
ShaderDefinition Cogs::Core::EffectDefinition::geometryShader |
Definition at line 100 of file EffectDefinition.h.
ShaderDefinition Cogs::Core::EffectDefinition::hullShader |
Definition at line 96 of file EffectDefinition.h.
std::string Cogs::Core::EffectDefinition::name |
Name of the effect.
Definition at line 89 of file EffectDefinition.h.
Referenced by Cogs::Core::EffectManager::loadEffect(), and Cogs::Core::MaterialManager::loadMaterialVariant().
ShaderDefinition Cogs::Core::EffectDefinition::pixelShader |
Definition at line 102 of file EffectDefinition.h.
MeshStreamsLayout Cogs::Core::EffectDefinition::streamsLayout |
The vertex layout this effect expects.
Definition at line 92 of file EffectDefinition.h.
Referenced by Cogs::Core::MaterialManager::loadMaterialVariant().
ShaderDefinition Cogs::Core::EffectDefinition::vertexShader |
Definition at line 94 of file EffectDefinition.h.