Cubemap

expect interface Cubemap(source)
actual interface Cubemap(source)
actual interface Cubemap(source)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
expect abstract fun bind(textureUnit: Int = 0)
actual abstract fun bind(textureUnit: Int)
actual abstract fun bind(textureUnit: Int)
Link copied to clipboard
expect abstract fun copyTo(target: Cubemap, fromLevel: Int = 0, toLevel: Int = 0)
expect abstract fun copyTo(target: ArrayCubemap, layer: Int, fromLevel: Int = 0, toLevel: Int = 0)
expect abstract fun copyTo(target: ColorBuffer, fromSide: CubemapSide, fromLevel: Int = 0, toLevel: Int = 0)
actual abstract fun copyTo(target: Cubemap, fromLevel: Int, toLevel: Int)
actual abstract fun copyTo(target: ArrayCubemap, layer: Int, fromLevel: Int, toLevel: Int)
actual abstract fun copyTo(target: ColorBuffer, fromSide: CubemapSide, fromLevel: Int, toLevel: Int)
actual abstract fun copyTo(target: Cubemap, fromLevel: Int, toLevel: Int)
actual abstract fun copyTo(target: ArrayCubemap, layer: Int, fromLevel: Int, toLevel: Int)
actual abstract fun copyTo(target: ColorBuffer, fromSide: CubemapSide, fromLevel: Int, toLevel: Int)
Link copied to clipboard
expect abstract fun destroy()
actual abstract fun destroy()
actual abstract fun destroy()
Link copied to clipboard
expect abstract fun filter(min: MinifyingFilter, mag: MagnifyingFilter)
actual abstract fun filter(min: MinifyingFilter, mag: MagnifyingFilter)
actual abstract fun filter(min: MinifyingFilter, mag: MagnifyingFilter)
Link copied to clipboard
expect abstract fun generateMipmaps()
actual abstract fun generateMipmaps()
actual abstract fun generateMipmaps()
Link copied to clipboard
fun Cubemap.imageBinding(level: Int = 0, imageAccess: ImageAccess): CubemapImageBinding
Link copied to clipboard
abstract fun read(side: CubemapSide, target: ByteBuffer, targetFormat: ColorFormat = format, targetType: ColorType = type, level: Int = 0)
Link copied to clipboard
expect abstract fun write(side: CubemapSide, source: MPPBuffer, sourceFormat: ColorFormat, sourceType: ColorType, x: Int, y: Int, width: Int, height: Int, level: Int)
abstract fun write(side: CubemapSide, source: TexImageSource, sourceFormat: ColorFormat = this.format, sourceType: ColorType = this.type, x: Int = 0, y: Int = 0, level: Int = 0)
abstract fun write(side: CubemapSide, source: ArrayBufferView, sourceFormat: ColorFormat, sourceType: ColorType, x: Int = 0, y: Int = 0, width: Int = this.width, height: Int = this.width, level: Int = 0)
actual abstract fun write(side: CubemapSide, source: MPPBuffer, sourceFormat: ColorFormat, sourceType: ColorType, x: Int, y: Int, width: Int, height: Int, level: Int)
abstract fun write(side: CubemapSide, source: ByteBuffer, sourceFormat: ColorFormat = format, sourceType: ColorType = type, level: Int = 0)
actual abstract fun write(side: CubemapSide, source: MPPBuffer, sourceFormat: ColorFormat, sourceType: ColorType, x: Int, y: Int, width: Int, height: Int, level: Int)

Properties

Link copied to clipboard
expect abstract val format: ColorFormat
actual abstract val format: ColorFormat
actual abstract val format: ColorFormat
Link copied to clipboard
expect abstract val levels: Int
actual abstract val levels: Int
actual abstract val levels: Int
Link copied to clipboard
expect abstract val session: Session?
actual abstract val session: Session?
actual abstract val session: Session?
Link copied to clipboard
expect abstract val type: ColorType
actual abstract val type: ColorType
actual abstract val type: ColorType
Link copied to clipboard
expect abstract val width: Int
actual abstract val width: Int
actual abstract val width: Int