cubemap

fun cubemap(name: String, cubemap: Cubemap, side: CubemapSide, level: Int = 0)

attach an existing Cubemap with a named binding to RenderTarget

Parameters

name

the name for the attachment

cubemap

the Cubemap to attach

side

the CubemapSide of the Cubemap to attach

level

level of the Cubemap to attach, default is 0

fun cubemap(cubemap: Cubemap, side: CubemapSide, level: Int = 0)

attach an existing Cubemap with a nameless binding to RenderTarget

Parameters

cubemap

the Cubemap to attach

side

the CubemapSide of the Cubemap to attach

level

level of the Cubemap to attach, default is 0