void CreateVertexBuffer( int vertexCount, System.Span<T> data )

void CreateVertexBuffer( int vertexCount, List<T> data )

void CreateVertexBuffer( Sandbox.VertexAttribute[] layout )

Obsolete

Use CreateVertexBuffer without layout, use VertexLayout attributes on your vertex struct instead

Summary

Create an empty vertex buffer, it can be resized later

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

Obsolete

Use CreateVertexBuffer without layout, use VertexLayout attributes on your vertex struct instead

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

Obsolete

Use CreateVertexBuffer without layout, use VertexLayout attributes on your vertex struct instead

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