载入中...
搜索中...
未找到
StyleShaders.cpp 文件参考
#include "stylize/StyleShaders.h"
#include "common/Exception.h"
#include "graphics/Graphics.h"
#include "graphics/Shader.h"
#include "graphics/shaders/mesh3d_toon_frag_spv.inc"
#include "graphics/shaders/mesh3d_toon_vert_spv.inc"
#include "stylize/shaders/cartoon_post_frag_spv.inc"
#include "stylize/shaders/ink_mesh_frag_spv.inc"
#include "stylize/shaders/ink_post_frag_spv.inc"
#include "stylize/shaders/pixel_post_frag_spv.inc"
#include "stylize/shaders/watercolor_post_frag_spv.inc"
#include "stylize/shaders/xray_mesh_frag_spv.inc"
#include <algorithm>
#include <array>
#include <cstddef>
#include <vector>

浏览源代码.

命名空间

namespace  eve
 
namespace  eve::stylize
 

函数

bool eve::stylize::isKnownStyle (const std::string &style)
 
int eve::stylize::styleCount ()
 
std::string eve::stylize::styleIdAt (int index)
 
bool eve::stylize::styleSupports (const std::string &style, const std::string &feature)
 
int eve::stylize::styleParamCount (const std::string &style)
 
std::string eve::stylize::styleParamName (const std::string &style, int index)
 
void eve::stylize::bindPostUniforms (graphics::Shader *shader, const std::string &style)
 
void eve::stylize::bindMeshUniforms (graphics::Shader *shader, const std::string &style)
 
graphics::Shadereve::stylize::createPostShader (graphics::Graphics *gfx, const std::string &style)
 
graphics::Shadereve::stylize::createMeshShader (graphics::Graphics *gfx, const std::string &style)