<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ModelIO",
  "identifier" : "/documentation/ModelIO/MDLNoiseTexture",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Model I/O"
    ],
    "preciseIdentifier" : "c:objc(cs)MDLNoiseTexture"
  },
  "title" : "MDLNoiseTexture"
}
-->

# MDLNoiseTexture

A generator of texel data that creates a field of random noise.

```
class MDLNoiseTexture
```

## Overview

Like other procedural [`MDLTexture`](/documentation/ModelIO/MDLTexture) subclasses, the [`MDLNoiseTexture`](/documentation/ModelIO/MDLNoiseTexture) class generates texel data only when that data is first referenced, and then caches it for future use.

## Topics

### Creating a Noise Texture

[`-  initScalarNoiseWithSmoothness:name:textureDimensions:channelCount:channelEncoding:grayscale:`](/documentation/ModelIO/MDLNoiseTexture/init(scalarNoiseWithSmoothness:name:textureDimensions:channelCount:channelEncoding:grayscale:))

Initializes a noise texture that creates random color noise.

[`-  initVectorNoiseWithSmoothness:name:textureDimensions:channelEncoding:`](/documentation/ModelIO/MDLNoiseTexture/init(vectorNoiseWithSmoothness:name:textureDimensions:channelEncoding:))

Initializes a noise texture that creates random directional noise.

## Relationships

### Inherits From

[`MDLTexture`](/documentation/ModelIO/MDLTexture)

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`MDLNamed`](/documentation/ModelIO/MDLNamed)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

---

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)