Contents

specularHitDistanceTexture

The specular hit texture this scaler evaluates.

Declaration

var specularHitDistanceTexture: (any MTLTexture)? { get set }

Discussion

You are responsible for ensuring the usage and pixel format of the texture you assign to this property matches the texture usage specularHitDistanceTextureUsage requests and the pixel format that specularHitDistanceTextureFormat requests.