makeTemporalScaler(device:compiler:)
Creates a temporal scaler instance for a Metal device.
Declaration
func makeTemporalScaler(device: any MTLDevice, compiler: any MTL4Compiler) -> (any MTL4FXTemporalScaler)?Parameters
- device:
The Metal device that creates the temporal scaler.
- compiler:
A compiler instance this method can use to build pipeline state objects.
Return Value
A new temporal scaler instance upon success, or nil otherwise.