ArrayCubemap

interface ArrayCubemap

Functions

bind
Link copied to clipboard
common
abstract fun bind(unit: Int)
copyTo
Link copied to clipboard
common
abstract fun copyTo(layer: Int, target: Cubemap, fromLevel: Int = 0, toLevel: Int = 0)
abstract fun copyTo(layer: Int, target: ArrayCubemap, targetLayer: Int, fromLevel: Int = 0, toLevel: Int = 0)

Copy contents in layer to target ColorBuffer

js
abstract fun copyTo(layer: Int, target: Cubemap, fromLevel: Int = 0, toLevel: Int = 0)
abstract fun copyTo(layer: Int, target: ArrayCubemap, targetLayer: Int, fromLevel: Int = 0, toLevel: Int = 0)
destroy
Link copied to clipboard
common
abstract fun destroy()
generateMipmaps
Link copied to clipboard
common
abstract fun generateMipmaps()

generates mipmaps from the top-level mipmap

js
abstract fun generateMipmaps()
read
Link copied to clipboard
abstract fun read(layer: Int, buffer: ByteBuffer, level: Int = 0)
write
Link copied to clipboard
abstract fun write(side: CubemapSide, layer: Int, buffer: ByteBuffer, sourceFormat: ColorFormat = format, sourceType: ColorType = type, level: Int = 0)

Write to a single layer in the array texture

Properties

bounds
Link copied to clipboard
open val bounds: Rectangle
filterMag
Link copied to clipboard
abstract var filterMag: MagnifyingFilter

the filter to use when displaying at sizes larger than the original

abstract var filterMag: MagnifyingFilter
abstract var filterMag: MagnifyingFilter

the filter to use when displaying at sizes larger than the original

filterMin
Link copied to clipboard
abstract var filterMin: MinifyingFilter

the filter to use when displaying at sizes smaller than the original

abstract var filterMin: MinifyingFilter
abstract var filterMin: MinifyingFilter

the filter to use when displaying at sizes smaller than the original

flipV
Link copied to clipboard
abstract var flipV: Boolean
format
Link copied to clipboard
abstract val format: ColorFormat
abstract val format: ColorFormat
abstract val format: ColorFormat
layers
Link copied to clipboard
abstract val layers: Int
levels
Link copied to clipboard
abstract val levels: Int
session
Link copied to clipboard
abstract val session: Session?
abstract val session: Session?
abstract val session: Session?
type
Link copied to clipboard
abstract val type: ColorType
abstract val type: ColorType
abstract val type: ColorType
width
Link copied to clipboard
abstract val width: Int

Extensions

imageBinding
Link copied to clipboard
common
fun ArrayCubemap.imageBinding(level: Int = 0, imageAccess: ImageAccess): ArrayCubemapImageBinding