denoiseStrengthMaskTexture
The denoise strength mask texture this scaler evaluates.
Declaration
var denoiseStrengthMaskTexture: (any MTLTexture)? { get set }Discussion
Use this single-channel texture to mark, at a per-pixel level, areas that this denoiser ignores. To configure a pixel that the denoiser ignores, provide 1.0 as the value at that pixel’s corresponding location on this texture.
You are responsible for ensuring the usage and pixel format of the texture you assign to this property matches the texture usage denoiseStrengthMaskTextureUsage requests and the pixel format that denoiseStrengthMaskTextureFormat requests.