<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SpriteKit",
  "identifier" : "/documentation/SpriteKit/SKUniformType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "SpriteKit"
    ],
    "preciseIdentifier" : "c:@E@SKUniformType"
  },
  "title" : "SKUniformType"
}
-->

# SKUniformType

An enumerated type to identify the type of a uniform object.

```
enum SKUniformType
```

## Topics

### Constants

[`SKUniformTypeNone`](/documentation/SpriteKit/SKUniformType/none)

Indicates that the uniform variable does not currently hold any data. A uniform object has this type until the first time its value is set.

[`SKUniformTypeFloat`](/documentation/SpriteKit/SKUniformType/float)

Indicates that the uniform variable holds a 32-bit floating-point value.

[`SKUniformTypeFloatVector2`](/documentation/SpriteKit/SKUniformType/floatVector2)

Indicates that the uniform variable holds a vector of two 32-bit floating-point values.

[`SKUniformTypeFloatVector3`](/documentation/SpriteKit/SKUniformType/floatVector3)

Indicates that the uniform variable holds a vector of three 32-bit floating-point values.

[`SKUniformTypeFloatVector4`](/documentation/SpriteKit/SKUniformType/floatVector4)

Indicates that the uniform variable holds a vector of four 32-bit floating-point values.

[`SKUniformTypeFloatMatrix2`](/documentation/SpriteKit/SKUniformType/floatMatrix2)

Indicates that the uniform variable holds a `2 x 2` matrix of four 32-bit floating-point values.

[`SKUniformTypeFloatMatrix3`](/documentation/SpriteKit/SKUniformType/floatMatrix3)

Indicates that the uniform variable holds a `3 x 3` matrix of four 32-bit floating-point values.

[`SKUniformTypeFloatMatrix4`](/documentation/SpriteKit/SKUniformType/floatMatrix4)

Indicates that the uniform variable holds a `3 x 3` matrix of four 32-bit floating-point values.

[`SKUniformTypeTexture`](/documentation/SpriteKit/SKUniformType/texture)

Indicates that the uniform variable holds a reference to a SpriteKit texture.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)