---
title: update()
framework: modelio
role: symbol
role_heading: Instance Method
path: modelio/mdlskycubetexture/update()
---

# update()

Generates new texel data matching the current sky parameters.

## Declaration

```swift
func update()
```

## Discussion

Discussion After you first create a sky cube texture, Model I/O does not generate texture data until you use one of the MDLTexture methods listed inAccessing Texture Data. If you then change the sky simulation or rendering parameters, call this method to generate new texture data.
