mirror of
https://github.com/cocos/cocos-engine.git
synced 2026-09-07 08:09:13 +08:00
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
|
|
}
|