side

fun side(cubemapSide: CubemapSide, level: Int): MPPBuffer(source)

Retrieves the data buffer for a specific side of the cubemap at the specified mipmap level. For the base level (level 0), the data is retrieved from the sides property, and for other mipmap levels, the data is retrieved from the mipmapSides property.

Return

The data buffer corresponding to the specified cubemap side and mipmap level.

Parameters

cubemapSide

The side of the cubemap to retrieve the data for, represented by the CubemapSide enum.

level

Mipmap level of the cubemap to retrieve the data for. Level 0 corresponds to the base level, while higher levels correspond to additional mipmap levels.