harfang3d/doc/doc/VertexLayoutPosFloatNormFloat.md
2021-10-13 14:40:31 +02:00

222 B

Simple vertex layout with float position and normal.

vtx_layout = VertexLayout()
vtx_layout.Begin()
vtx_layout.Add(hg.A_Position, 3, hg.AT_Float)
vtx_layout.Add(hg.A_Normal, 3, hg.AT_Float)
vtx_layout.End()