applying(_:)
Creates a new texture by applying a Core Image filter to an existing texture.
Declaration
func applying(_ filter: CIFilter) -> SelfParameters
- filter:
A Core Image filter that requires a single
inputImageparameter and produces anoutputImageparameter.
Return Value
A new texture object.
Discussion
The image data is copied before control is returned to your game.