TextureResource.Semantic
An object for specifying the intended use of a texture.
Declaration
enum SemanticOverview
RealityKit uses image textures to transmit different types of data Metal shaders. For example, it uses textures to send RGB images with the base color of the entity, to send grayscale images holding roughness and metallic information, and to send surface normals for doing lighting calculations.
This object specifies the intended use of the texture by an individual property.