volumeTexture

fun volumeTexture(name: String, volumeTexture: VolumeTexture, layer: Int, level: Int = 0)

attach an existing VolumeTexture with a named binding to RenderTarget

Parameters

name

the name for the attachment

volumeTexture

the VolumeTexture to attach

layer

the layer of the VolumeTexture to attach

level

level of the VolumeTexture to attach, default is 0

fun volumeTexture(volumeTexture: VolumeTexture, layer: Int, level: Int = 0)

attach an existing VolumeTexture with a nameless binding to RenderTarget

Parameters

volumeTexture

the VolumeTexture to attach

layer

the layer of the VolumeTexture to attach

level

level of the VolumeTexture to attach, default is 0