New
31var
isDistortionTextureEnabled
NewiOSmacOStvOSopen var isDistortionTextureEnabled: Bool
A Boolean value that indicates whether the frame interpolator supports barrel distortion correction.
Set this property to <doc://com.apple.documentation/documentation/swift/true> to create a frame interpolator that can apply barrel distortion correction using a distortion field texture.
When you enable this property, you can assign a distortion texture to the interpolator's distortionTexture property to correct lens distortion artifacts during frame interpolation.
This property's default value is <doc://com.apple.documentation/documentation/swift/false>.
var
isJitteredMotionVectorsEnabled
NewiOSmacOStvOSopen var isJitteredMotionVectorsEnabled: Bool
A Boolean value that indicates whether the motion vectors include the jittering pattern.
When you set this property to <doc://com.apple.documentation/documentation/swift/true>, the scaler internally subtracts the jitter from the motion vectors using the jitter offset values provided each frame via jitterOffsetX and jitterOffsetY.
When <doc://com.apple.documentation/documentation/swift/false> (the default), the scaler uses the motion vectors directly without any adjustment.
var
isOutputResolutionMotionVectorsEnabled
NewiOSmacOStvOSopen var isOutputResolutionMotionVectorsEnabled: Bool
A Boolean value that indicates whether the scaler expects motion vectors at output resolution.
Set this property to <doc://com.apple.documentation/documentation/swift/true> when your app provides motion vectors at the output resolution rather than the input resolution.
When you enable this property, the scaler interprets the motionTexture dimensions to match outputWidth and outputHeight instead of inputWidth and inputHeight.
This property's default value is <doc://com.apple.documentation/documentation/swift/false>.
var
requiresPrevColorTexture
NewiOSmacOStvOSopen var requiresPrevColorTexture: Bool
A Boolean value that indicates whether the frame interpolator requires the client to provide a previous color texture.
When this property is YES (the default), you must assign a valid texture to the interpolator's prevColorTexture property before encoding. When NO, the frame interpolator internally manages the previous color data and prevColorTexture may be nil.
This property's default value is <doc://com.apple.documentation/documentation/swift/true>.
var
MTLFXFrameInterpolatorBase.contentHeight
NewiOSmacOStvOSvar contentHeight: Int { get set }
The height, in pixels, of the content region within the input textures to process.
Use this property together with contentWidth to specify a subrectangle of the input textures for the frame interpolator to process.
var
MTLFXFrameInterpolatorBase.contentWidth
NewiOSmacOStvOSvar contentWidth: Int { get set }
The width, in pixels, of the content region within the input textures to process.
Use this property together with contentHeight to specify a subrectangle of the input textures for the frame interpolator to process.
var
MTLFXFrameInterpolatorBase.depthContentOffsetX
NewiOSmacOStvOSvar depthContentOffsetX: Int { get set }
The horizontal offset, in pixels, of the region within the depth texture to use as input.
var
MTLFXFrameInterpolatorBase.depthContentOffsetY
NewiOSmacOStvOSvar depthContentOffsetY: Int { get set }
The vertical offset, in pixels, of the region within the depth texture to use as input.
var
MTLFXFrameInterpolatorBase.distortionHeight
NewiOSmacOStvOSvar distortionHeight: Int { get set }
The height, in pixels, of the content region within the distortion texture to use as input.
When set to zero (the default), the frame interpolator uses contentHeight instead.
var
MTLFXFrameInterpolatorBase.distortionOffsetX
NewiOSmacOStvOSvar distortionOffsetX: Int { get set }
The horizontal offset, in pixels, of the region within the distortion texture to use as input.
var
MTLFXFrameInterpolatorBase.distortionOffsetY
NewiOSmacOStvOSvar distortionOffsetY: Int { get set }
The vertical offset, in pixels, of the region within the distortion texture to use as input.
var
MTLFXFrameInterpolatorBase.distortionTexture
NewiOSmacOStvOSvar distortionTexture: (any MTLTexture)? { get set }
A distortion field texture that the frame interpolator uses to correct barrel distortion.
Assign a texture containing a distortion field to this property to enable barrel distortion correction during frame interpolation. The distortion field describes how to remap pixels to correct lens distortion artifacts common in VR or wide-angle camera applications.
You are responsible for providing a texture that matches the output dimensions of the frame interpolator.
var
MTLFXFrameInterpolatorBase.distortionWidth
NewiOSmacOStvOSvar distortionWidth: Int { get set }
The width, in pixels, of the content region within the distortion texture to use as input.
When set to zero (the default), the frame interpolator uses contentWidth instead.
var
MTLFXFrameInterpolatorBase.motionContentOffsetX
NewiOSmacOStvOSvar motionContentOffsetX: Int { get set }
The horizontal offset, in pixels, of the region within the motion texture to use as input.
var
MTLFXFrameInterpolatorBase.motionContentOffsetY
NewiOSmacOStvOSvar motionContentOffsetY: Int { get set }
The vertical offset, in pixels, of the region within the motion texture to use as input.
var
MTLFXFrameInterpolatorBase.outputOffsetX
NewiOSmacOStvOSvar outputOffsetX: Int { get set }
The horizontal offset, in pixels, of the region within the output texture to write results.
var
MTLFXFrameInterpolatorBase.outputOffsetY
NewiOSmacOStvOSvar outputOffsetY: Int { get set }
The vertical offset, in pixels, of the region within the output texture to write results.
var
MTLFXFrameInterpolatorBase.viewToClipMatrix
NewiOSmacOStvOSvar viewToClipMatrix: simd_float4x4 { get set }
The view-to-clip coordinates transformation matrix this frame interpolator uses as part of its operation.
var
MTLFXFrameInterpolatorBase.worldToViewMatrix
NewiOSmacOStvOSvar worldToViewMatrix: simd_float4x4 { get set }
The world-to-view transformation matrix this frame interpolator uses as part of its operation.
var
MTLFXTemporalDenoisedScalerBase.reactiveMaskTextureUsage
NewiOSmacOStvOSvar reactiveMaskTextureUsage: MTLTextureUsage { get }
The minimal texture usage options that your app's input reactive mask texture needs in order to support this denoiser scaler.
var
MTLFXTemporalScalerBase.colorContentOffsetX
NewiOSmacOStvOSvar colorContentOffsetX: Int { get set }
The horizontal offset, in pixels, of the region within the color texture to use as input.
var
MTLFXTemporalScalerBase.colorContentOffsetY
NewiOSmacOStvOSvar colorContentOffsetY: Int { get set }
The vertical offset, in pixels, of the region within the color texture to use as input.
var
MTLFXTemporalScalerBase.depthContentOffsetX
NewiOSmacOStvOSvar depthContentOffsetX: Int { get set }
The horizontal offset, in pixels, of the region within the depth texture to use as input.
var
MTLFXTemporalScalerBase.depthContentOffsetY
NewiOSmacOStvOSvar depthContentOffsetY: Int { get set }
The vertical offset, in pixels, of the region within the depth texture to use as input.
var
MTLFXTemporalScalerBase.motionContentOffsetX
NewiOSmacOStvOSvar motionContentOffsetX: Int { get set }
The horizontal offset, in pixels, of the region within the motion texture to use as input.
var
MTLFXTemporalScalerBase.motionContentOffsetY
NewiOSmacOStvOSvar motionContentOffsetY: Int { get set }
The vertical offset, in pixels, of the region within the motion texture to use as input.
var
MTLFXTemporalScalerBase.outputOffsetX
NewiOSmacOStvOSvar outputOffsetX: Int { get set }
The horizontal offset, in pixels, of the region within the output texture to write results.
var
MTLFXTemporalScalerBase.outputOffsetY
NewiOSmacOStvOSvar outputOffsetY: Int { get set }
The vertical offset, in pixels, of the region within the output texture to write results.
var
MTLFXTemporalScalerBase.reactiveMaskContentOffsetX
NewiOSmacOStvOSvar reactiveMaskContentOffsetX: Int { get set }
The horizontal offset, in pixels, of the region within the reactive mask texture to use as input.
var
MTLFXTemporalScalerBase.reactiveMaskContentOffsetY
NewiOSmacOStvOSvar reactiveMaskContentOffsetY: Int { get set }
The vertical offset, in pixels, of the region within the reactive mask texture to use as input.
var
MTLFXTemporalScalerBase.reactiveMaskTextureUsage
NewiOSmacOStvOSvar reactiveMaskTextureUsage: MTLTextureUsage { get }
The minimal texture usage options that your app's reactive mask texture needs in order to support this scaler.
No APIs match your filter.