mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-03 09:32:38 +08:00
20 lines
391 B
TypeScript
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,
|
|
},
|
|
];
|