<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TouchController",
  "identifier" : "/documentation/TouchController/TCControlImage/init(texture:size:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Touch Controller"
    ],
    "preciseIdentifier" : "c:objc(cs)TCControlImage(im)initWithTexture:size:"
  },
  "title" : "init(texture:size:)"
}
-->

# init(texture:size:)

Creates a new image with the specified texture and size.

```
convenience init(texture: any MTLTexture, size: CGSize)
```

## Parameters

`texture`

The Metal texture to use for the image.

`size`

The size of the image in points.

## Return Value

A new `TCControlImage` instance.

---

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)