<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 27.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalFX",
  "identifier" : "/documentation/MetalFX/MTLFXTemporalScalerDescriptor/requiresSynchronousInitialization",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MetalFX"
    ],
    "preciseIdentifier" : "c:objc(cs)MTLFXTemporalScalerDescriptor(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 }
```

## Overview

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 `MFXTemporalScalingEffect` instance that can 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 the [`makeTemporalScaler(device:)`](/documentation/MetalFX/MTLFXTemporalScalerDescriptor/makeTemporalScaler(device:)) method.
However, it may take the framework more time for that method to return while the
framework creates the temporal scaling effect and compiles its underlying scaler.

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 `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)