<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LowLevelRenderContextStandalone/makeMeshResource(descriptor:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer31LowLevelRenderContextStandaloneC16makeMeshResource10descriptorAA0dejK0CAG10DescriptorV_tKF"
  },
  "title" : "makeMeshResource(descriptor:)"
}
-->

# makeMeshResource(descriptor:)

Creates a mesh resource from the given descriptor.

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

## Parameters

`descriptor`

The vertex and index buffer layout to allocate.

## Return Value

A newly created [`LowLevelMeshResource`](/documentation/RealityKit/LowLevelMeshResource).

## Discussion> Throws: An error if the descriptor is invalid or if the underlying GPU allocation fails.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)