Version details:
- Xcode Version 15.3 beta (15E5178i)
- visionOS 1.0 (21N301) SDK + visionOS 1.0 (21N305) Simulator (Installed)
I'm trying to make a ModelEntity
with a CustomMaterial.GeometryModifier
for which I also created a metal shader file.
The said shader file is extremely simple at this time:
#include <metal_stdlib>
#include <RealityKit/RealityKit.h>
using namespace metal;
[[visible]]
void ExpandGeometryModifier(realitykit::geometry_parameters params)
{
// Nothing.
}
When trying to compile my project, I get the following error:
'RealityKit/RealityKit.h' file not found
Is this not supported on VisionOS?