makeSpatialScaler(device:)
Creates a spatial scaler instance from this descriptor’s current property values.
Declaration
func makeSpatialScaler(device: any MTLDevice) -> (any MTLFXSpatialScaler)?Parameters
- device:
An Mtldevice instance that represents the GPU that applies the spatial scaler.