GenerateBuffers() public method

public GenerateBuffers ( ) : void
return void
Exemplo n.º 1
0
 public static MeshBuffer Generate(Vector3[] vertexData, Vector3[] normalData, int[] colorData, uint[] indicesData)
 {
     var meshBuffer = new MeshBuffer(vertexData, normalData, colorData, indicesData);
     meshBuffer.GenerateBuffers();
     return meshBuffer;
 }