mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
56515cc84f
* Code style: replace macros to functions * Update compiled shaders
20 lines
319 B
Plaintext
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
|
|
}
|