MeshData.this

Constructs a new MeshData from slices of mesh data.

  1. this(vec2[] vertices, vec2[] uvs, uint[] indices)
    struct MeshData
    @nogc
    this
    (
    vec2[] vertices
    ,
    vec2[] uvs
    ,
    uint[] indices
    )
  2. this(Mesh mesh)

Parameters

vertices vec2[]

The vertices of the mesh.

uvs vec2[]

The UV coordinates of the mesh.

indices uint[]

The indices of the mesh.

Meta