Contents

MTL4FXSpatialScaler

An upscaling effect that generates a higher resolution texture in a render pass by spatially analyzing an input texture.

Declaration

protocol MTL4FXSpatialScaler : MTLFXSpatialScalerBase

Overview

You create instances of this class by calling makeSpatialScaler(device:compiler:).

When using instances of objects conforming to this protocol, you configure the different properties it inherits from protocol MTLFXSpatialScalerBase and then call encode(commandBuffer:) to encode its work into a Metal command buffer.

See MTLFXSpatialScalerBase for more details on configuring and using spatial scalers.

Topics

Instance Methods