Instance Method

update()

Generates new texel data matching the current sky parameters.

Declaration

func update()

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.