Cogs.Core
Public Member Functions | Public Attributes | List of all members
Cogs::Effect Struct Reference
Inheritance diagram for Cogs::Effect:
Cogs::EffectD3D12 Cogs::EffectGL20 Cogs::EffectVK Cogs::EffectWebGPU

Public Member Functions

Effectoperator= (const Effect &other)
 
Effectoperator= (Effect &&other) noexcept
 
void buildSignature ()
 

Public Attributes

EffectSignature signature
 
Shader shaders [ShaderType::NumShaderSlots]
 
std::unordered_map< size_t, EffectVariableeffectVariables
 
ShadervertexShader
 
ShaderhullShader
 
ShaderdomainShader
 
ShadergeometryShader
 
ShaderpixelShader
 
ShadercomputeShader
 

Detailed Description

Definition at line 177 of file EffectsCommon.h.

Constructor & Destructor Documentation

◆ Effect()

Cogs::Effect::Effect ( )
inline

Definition at line 179 of file EffectsCommon.h.

Member Function Documentation

◆ buildSignature()

void Cogs::Effect::buildSignature ( )

Definition at line 463 of file EffectsCommon.cpp.

◆ operator=() [1/2]

Effect & Cogs::Effect::operator= ( const Effect other)
inline

Definition at line 190 of file EffectsCommon.h.

◆ operator=() [2/2]

Effect & Cogs::Effect::operator= ( Effect &&  other)
inlinenoexcept

Definition at line 202 of file EffectsCommon.h.

Member Data Documentation

◆ computeShader

Shader& Cogs::Effect::computeShader

Definition at line 227 of file EffectsCommon.h.

◆ domainShader

Shader& Cogs::Effect::domainShader

Definition at line 224 of file EffectsCommon.h.

◆ effectVariables

std::unordered_map<size_t, EffectVariable> Cogs::Effect::effectVariables

Definition at line 220 of file EffectsCommon.h.

◆ geometryShader

Shader& Cogs::Effect::geometryShader

Definition at line 225 of file EffectsCommon.h.

◆ hullShader

Shader& Cogs::Effect::hullShader

Definition at line 223 of file EffectsCommon.h.

◆ pixelShader

Shader& Cogs::Effect::pixelShader

Definition at line 226 of file EffectsCommon.h.

◆ shaders

Shader Cogs::Effect::shaders[ShaderType::NumShaderSlots]

Definition at line 218 of file EffectsCommon.h.

◆ signature

EffectSignature Cogs::Effect::signature

Definition at line 216 of file EffectsCommon.h.

◆ vertexShader

Shader& Cogs::Effect::vertexShader

Definition at line 222 of file EffectsCommon.h.


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