Contents

makeMeshResource(descriptor:)

Creates a mesh resource from the given descriptor.

Declaration

final func makeMeshResource(descriptor: LowLevelMeshResource.Descriptor) throws -> LowLevelMeshResource

Parameters

  • descriptor:

    The vertex and index buffer layout to allocate.

Return Value

A newly created LowLevelMeshResource.

Discussion