void CreateVertexBuffer( Sandbox.VertexAttribute[] layout )

Summary

Create an empty vertex buffer, it can be resized later

void CreateVertexBuffer( int vertexCount, Sandbox.VertexAttribute[] layout, List<T> data )

void CreateVertexBuffer( int vertexCount, Sandbox.VertexAttribute[] layout, System.Span<T> data )

people
Log in to reply
You can't reply if you're not logged in. That would be crazy.