image
open fun image(name: String, arrayTextures: Array<ArrayTexture>, levels: Array<Int> = Array(arrayTextures.size) { 0 })(source)
open fun image(name: String, colorBuffers: Array<ColorBuffer>, levels: Array<Int> = Array(colorBuffers.size) { 0 })(source)
open fun image(name: String, cubemaps: Array<Cubemap>, levels: Array<Int> = Array(cubemaps.size) { 0 })(source)
open fun image(name: String, volumeTextures: Array<VolumeTexture>, levels: Array<Int> = Array(volumeTextures.size) { 0 })(source)
Since
0.4.4
Binds an ArrayCubemap as an image to be used in computations such as shaders. Validates the presence of an existing image binding with the specified name and configures the binding using the given ArrayCubemap and mipmap level.
Since
0.4.5
Parameters
name
The name of the image binding to be used.
arrayCubemap
The ArrayCubemap object to be bound.
level
The mipmap level to use when binding the ArrayCubemap. Defaults to 0.
Throws
if the image binding with the given name is not registered.