<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "SpriteKit",
  "identifier" : "/documentation/SpriteKit/SKTexture/applying(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKTexture(im)textureByApplyingCIFilter:"
  },
  "title" : "applying(_:)"
}
-->

# applying(_:)

Creates a new texture by applying a Core Image filter to an existing texture.

```
func applying(_ filter: CIFilter) -> Self
```

## Parameters

`filter`

A Core Image filter that requires a single `inputImage` parameter and produces an `outputImage` parameter.

## Return Value

A new texture object.

## Discussion

The image data is copied before control is returned to your game.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)