interface ArrayCubemap
(source)
bounds |
open val bounds: Rectangle |
filterMag |
the filter to use when displaying at sizes larger than the original abstract var filterMag: MagnifyingFilter |
filterMin |
the filter to use when displaying at sizes smaller than the original abstract var filterMin: MinifyingFilter |
flipV |
abstract var flipV: Boolean |
format |
abstract val format: ColorFormat |
layers |
abstract val layers: Int |
levels |
abstract val levels: Int |
session |
abstract val session: Session? |
type |
abstract val type: ColorType |
width |
abstract val width: Int |
bind |
abstract fun bind(unit: Int): Unit |
copyTo |
Copy contents in layer to target ColorBuffer abstract fun copyTo(layer: Int, target: Cubemap, fromLevel: Int = 0, toLevel: Int = 0): Unit abstract fun copyTo(layer: Int, target: ArrayCubemap, targetLayer: Int, fromLevel: Int = 0, toLevel: Int = 0): Unit |
destroy |
abstract fun destroy(): Unit |
generateMipmaps |
generates mipmaps from the top-level mipmap abstract fun generateMipmaps(): Unit |
read |
abstract fun read(layer: Int, buffer: ByteBuffer, level: Int = 0): Unit |
write |
Write to a single layer in the array texture abstract fun write(side: CubemapSide, layer: Int, buffer: ByteBuffer, sourceFormat: ColorFormat = format, sourceType: ColorType = type, level: Int = 0): Unit |
imageBinding |
fun ArrayCubemap.imageBinding(level: Int = 0, imageAccess: ImageAccess): ArrayCubemapImageBinding |