载入中...
搜索中...
未找到
EffectShaders.cpp 文件参考
#include "stylize/EffectShaders.h"
#include "common/Exception.h"
#include "graphics/Graphics.h"
#include "graphics/Shader.h"
#include "graphics/shaders/mesh3d_toon_vert_spv.inc"
#include "stylize/shaders/chromatic_post_frag_spv.inc"
#include "stylize/shaders/dissolve_mesh_frag_spv.inc"
#include "stylize/shaders/grain_post_frag_spv.inc"
#include "stylize/shaders/hologram_mesh_frag_spv.inc"
#include "stylize/shaders/slash_mesh_frag_spv.inc"
#include "stylize/shaders/ember_mesh_frag_spv.inc"
#include "stylize/shaders/aura_mesh_frag_spv.inc"
#include "stylize/shaders/rim_mesh_frag_spv.inc"
#include "stylize/shaders/snow_mesh_frag_spv.inc"
#include "stylize/shaders/vignette_post_frag_spv.inc"
#include <algorithm>
#include <cstddef>
#include <vector>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::stylize
 

函数

bool eve::stylize::isEffectStyle (const std::string &style)
 True when style names one of the ported effect shaders.
 
const StyleDefinition * eve::stylize::findEffectDefinition (const std::string &style)
 Effect-only StyleDefinition lookup, or nullptr when unknown.
 
int eve::stylize::effectStyleCount ()
 Effect style count.
 
std::string eve::stylize::effectStyleIdAt (int index)
 Effect style id at.
 
int eve::stylize::effectParamCount (const std::string &style)
 Effect param count.
 
std::string eve::stylize::effectParamName (const std::string &style, int index)
 Effect param name.
 
const StyleParameterDesc * eve::stylize::findEffectParameter (const std::string &style, const std::string &name)
 Finds effect parameter.
 
const StyleParameterDesc * eve::stylize::effectParameterAt (const std::string &style, int index)
 Effect parameter at.
 
void eve::stylize::bindEffectPostUniforms (graphics::Shader *shader, const std::string &style)
 Binds effect post uniforms.
 
void eve::stylize::bindEffectMeshUniforms (graphics::Shader *shader, const std::string &style)
 Binds effect mesh uniforms.
 
graphics::Shader * eve::stylize::createEffectPostShader (graphics::Graphics *gfx, const std::string &style)
 Creates effect post shader.
 
graphics::Shader * eve::stylize::createEffectMeshShader (graphics::Graphics *gfx, const std::string &style)
 Creates effect mesh shader.