createMesh method

  1. @override
Mesh createMesh(
  1. List<int> vertexAttributes, [
  2. List<double>? vertices,
  3. List<int>? indices,
  4. bool isStatic = true,
])
override

Creates a mesh for the target platform.

Remember to call deleteMesh to free resources when done.

Implementation

@override
Mesh createMesh(List<int> vertexAttributes,
        [List<double>? vertices, List<int>? indices, bool isStatic = true]) =>
    _WGLMesh(this, vertexAttributes, vertices, indices, isStatic);