<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 27.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalFX",
  "identifier" : "/documentation/MetalFX/MTLFXTemporalDenoisedScalerDescriptor/requiresSynchronousInitialization",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MetalFX"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLFXTemporalDenoisedScalerDescriptor(py)requiresSynchronousInitialization"
  },
  "title" : "requiresSynchronousInitialization"
}
-->

# requiresSynchronousInitialization

A Boolean value that indicates whether MetalFX compiles a temporal scaling effect’s underlying upscaler as it
creates the instance.

```
var requiresSynchronousInitialization: Bool { get set }
```

## Discussion

This property gives you the option to decide when it’s better for your app to give MetalFX the time it needs to
compile the underlying upscaler of the temporal scaling effect. The two choices are:

- As you create the effect
- After you create the effect, likely when your app needs to upscale the initial textures

You can create a temporal denoised scaler instance that can denoise and upscale textures at its best speed
immediately after you create it by setting this property to <doc://com.apple.documentation/documentation/Swift/true>
and then calling an initialization method like [`makeTemporalDenoisedScaler(device:)`](/documentation/MetalFX/MTLFXTemporalDenoisedScalerDescriptor/makeTemporalDenoisedScaler(device:)). However, it may take MetalFX
more time for that method to return while it creates the denoiser scaler and compiles its underlying pipelines.

By default, the property is equal to <doc://com.apple.documentation/documentation/Swift/false>, which tells MetalFX
to quickly create and return the temporal scaling-effect instance, and then compile a faster upscaler in the background.
However, this means the effect can take more time to upscale textures while the framework compiles the underlying upscaler.
When the framework finishes compiling, the effect runs just as fast as if you set the property to
<doc://com.apple.documentation/documentation/Swift/true>.

> Note: The image quality of the effect’s output texture is consistent, whether it’s using the slower interim upscaler
> or the final, faster upscaler.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)