galacean / engine

A typescript interactive engine, support 2D, 3D, animation, physics, built on WebGL and glTF.

Home Page:https://galacean.antgroup.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The `VertexElementFormat` needs to support the `INT` data type

eyworldwide opened this issue · comments

The INT data type is a frequently used type when we design the vertex buffer data or index buffer data. The data size of the INT type is smaller than that of Float. I am eager to see such a feature implemented.

new VertexElement("element_name", 0, VertexElementFormat.INT, 0)