createArrayCubemap

expect abstract fun createArrayCubemap(    width: Int,     layers: Int,     format: ColorFormat,     type: ColorType,     levels: Int = 1,     session: Session? = Session.active): ArrayCubemap(source)

Creates an array cubemap texture with the specified dimensions, format, type, and number of mipmap levels.

Return

A new instance of ArrayCubemap configured with the specified parameters.

Parameters

width

The width of each cubemap face in pixels.

layers

The number of layers in the array cubemap.

format

The color format of the texture (e.g., RGB, RGBA).

type

The color type of the texture (e.g., unsigned byte, float).

levels

The number of mipmap levels for the texture. Defaults to 1.

session

The session associated with this texture. Defaults to the currently active session.

actual abstract fun createArrayCubemap(    width: Int,     layers: Int,     format: ColorFormat,     type: ColorType,     levels: Int,     session: Session?): ArrayCubemap(source)
actual abstract fun createArrayCubemap(    width: Int,     layers: Int,     format: ColorFormat,     type: ColorType,     levels: Int,     session: Session?): ArrayCubemap(source)