| 123456789101112131415161718192021 |
- // 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
- }
|