openrndr / org.openrndr.draw / arrayTexture


fun arrayTexture(width: Int, height: Int, layers: Int, format: ColorFormat = ColorFormat.RGBa, type: ColorType = ColorType.UINT8, levels: Int = 1, session: Session = ArrayTexture (source)

Creates an array texture


width - the width of each layer

height - the height 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