ArrayCubemap
Array of Cubemap, all with the same ColorType, ColorFormat and other properties. Typically, used for efficient reflection probes, lighting and shadowing systems. This is a common interface to be implemented in various target languages.
Functions
Link copied to clipboard
expect abstract fun copyTo( layer: Int, target: Cubemap, fromLevel: Int = 0, toLevel: Int = 0)
Content copied to clipboard
expect abstract fun copyTo( layer: Int, target: ArrayCubemap, targetLayer: Int, fromLevel: Int = 0, toLevel: Int = 0)
Content copied to clipboard
Copy contents in layer to target ColorBuffer
Link copied to clipboard
generates mipmaps from the top-level mipmap
generates mipmaps from the top-level mipmap
Link copied to clipboard
Link copied to clipboard
abstract fun write( side: CubemapSide, layer: Int, buffer: ByteBuffer, sourceFormat: ColorFormat = format, sourceType: ColorType = type, level: Int = 0)
Content copied to clipboard
Write to a single layer in the array texture
Properties
Extensions
Link copied to clipboard
fun ArrayCubemap.imageBinding(level: Int = 0, imageAccess: ImageAccess): ArrayCubemapImageBinding
Content copied to clipboard