createCubemap

expect abstract fun createCubemap(    width: Int,     format: ColorFormat,     type: ColorType,     levels: Int,     session: Session? = Session.active): Cubemap(source)

Creates a cubemap with the specified dimensions, format, type, mipmap levels, and session.

Return

A new instance of a cubemap with the specified properties.

Parameters

width

The width of each face of the cubemap in pixels.

format

The color format of the cubemap.

type

The data type of the cubemap's color information.

levels

The number of mipmap levels to generate for the cubemap.

session

The session within which the cubemap is created. Defaults to the active session if not specified.

actual abstract fun createCubemap(width: Int, format: ColorFormat, type: ColorType, levels: Int, session: Session?): Cubemap(source)
actual abstract fun createCubemap(width: Int, format: ColorFormat, type: ColorType, levels: Int, session: Session?): Cubemap(source)