Files
cocos4/editor/assets/chunks/legacy/input-standard.chunk
T

22 lines
465 B
Plaintext

// Copyright (c) 2017-2020 Xiamen Yaji Software Co., Ltd.
#include <legacy/decode-standard>
#include <common/data/unpack> //decode32
#if CC_USE_MORPH
#include <legacy/morph>
#endif
#if CC_USE_SKINNING
#include <legacy/skinning>
#endif
void CCVertInput(inout StandardVertInput In)
{
CCDecode(In);
#if CC_USE_MORPH
applyMorph(In.position, In.normal, In.tangent);
#endif
#if CC_USE_SKINNING
CCSkin(In.position, In.normal, In.tangent);
#endif
}