Files
cocos-engine/editor/assets/chunks/input.chunk
jk20012001 56515cc84f Code style: replace macros to functions (#9572)
* Code style: replace macros to functions

* Update compiled shaders
2021-10-29 18:16:47 +08:00

20 lines
319 B
Plaintext

// Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd.
#include <decode>
#if CC_USE_MORPH
#include <morph>
#endif
#if CC_USE_SKINNING
#include <cc-skinning>
#endif
void CCVertInput(inout vec4 In)
{
CCDecode(In);
#if CC_USE_MORPH
applyMorph(In);
#endif
#if CC_USE_SKINNING
CCSkin(In);
#endif
}