Files
cocos4/cocos/3d/ui/ui-vertex-format.ts
T
2019-07-01 09:33:24 +08:00

20 lines
391 B
TypeScript

/**
* @category ui
*/
import { GFXAttributeName, GFXFormat } from '../../gfx/define';
export const vfmt = [
{
name: GFXAttributeName.ATTR_POSITION,
format: GFXFormat.RGB32F,
},
{
name: GFXAttributeName.ATTR_TEX_COORD,
format: GFXFormat.RG32F,
},
{
name: GFXAttributeName.ATTR_COLOR,
format: GFXFormat.RGBA32F,
},
];