---
title: "random::integer"
framework: Compute Graph
role: symbol
role_heading: Function
platforms: [iOS 27.0+, iPadOS 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/random/integer
---

# random::integer

Generates a pseudo-random 32-bit unsigned integer.

## Declaration

```swift
uint random::integer()
```

## Return Value

Return Value A pseudo-random 32-bit unsigned integer.

## Discussion

Discussion This function generates a random integer covering the full range of 32-bit unsigned values and increments the internal random seed for subsequent calls. note:
