Hi,
you can do:
#if __has_include(<RealityKit/RealityKit.h>)
…… your shader code
#endif
instead.
Topic:
Graphics & Games
SubTopic:
RealityKit
Tags: