mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
22 lines
379 B
Plaintext
22 lines
379 B
Plaintext
// Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd.
|
|
#include <legacy/decode>
|
|
#include <common/data/unpack> //decode32
|
|
|
|
#if CC_USE_MORPH
|
|
#include <legacy/morph>
|
|
#endif
|
|
#if CC_USE_SKINNING
|
|
#include <legacy/skinning>
|
|
#endif
|
|
|
|
void CCVertInput(inout vec4 In)
|
|
{
|
|
CCDecode(In);
|
|
#if CC_USE_MORPH
|
|
applyMorph(In);
|
|
#endif
|
|
#if CC_USE_SKINNING
|
|
CCSkin(In);
|
|
#endif
|
|
}
|