arrayCubemap

fun arrayCubemap(width: Int, layers: Int, format: ColorFormat = ColorFormat.RGBa, type: ColorType = defaultColorType(format), levels: Int = 1, session: Session = Session.active): ArrayCubemap(source)

Creates an array cubemap

Parameters

width

the width of each layer

layers

the number of layers

format

the color format (ColorFormat) to be used in each layer

type

the color type to be used in each layer