ArrayTexture

expect abstract class ArrayTexture
actual abstract class ArrayTexture
actual abstract class ArrayTexture

Constructors

Link copied to clipboard
fun ArrayTexture()
fun ArrayTexture()

Functions

Link copied to clipboard
expect abstract fun bind(unit: Int)
actual abstract fun bind(unit: Int)
actual abstract fun bind(unit: Int)
Link copied to clipboard
expect abstract fun copyTo(    layer: Int,     target: ColorBuffer,     fromLevel: Int = 0,     toLevel: Int = 0)
expect abstract fun copyTo(    layer: Int,     target: ArrayTexture,     targetLayer: Int,     fromLevel: Int = 0,     toLevel: Int = 0)

Copy contents in layer to target ColorBuffer

actual abstract fun copyTo(    layer: Int,     target: ColorBuffer,     fromLevel: Int,     toLevel: Int)
actual abstract fun copyTo(    layer: Int,     target: ArrayTexture,     targetLayer: Int,     fromLevel: Int,     toLevel: Int)

Copy contents in layer to target ColorBuffer

actual abstract fun copyTo(    layer: Int,     target: ColorBuffer,     fromLevel: Int,     toLevel: Int)
actual abstract fun copyTo(    layer: Int,     target: ArrayTexture,     targetLayer: Int,     fromLevel: Int,     toLevel: Int)

Copy contents in layer to target ColorBuffer

Link copied to clipboard
expect abstract fun destroy()
actual abstract fun destroy()
actual abstract fun destroy()
Link copied to clipboard
expect abstract fun generateMipmaps()

generates mipmaps from the top-level mipmap

actual abstract fun generateMipmaps()

generates mipmaps from the top-level mipmap

actual abstract fun generateMipmaps()

generates mipmaps from the top-level mipmap

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

Write to a single layer in the array texture

Properties

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

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

actual abstract var filterMag: MagnifyingFilter

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

actual abstract var filterMag: MagnifyingFilter

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

Link copied to clipboard
expect abstract var filterMin: MinifyingFilter

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

actual abstract var filterMin: MinifyingFilter

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

actual abstract var filterMin: MinifyingFilter

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

Link copied to clipboard
expect abstract var flipV: Boolean
actual abstract var flipV: Boolean
actual abstract var flipV: Boolean
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 height: Int
actual abstract val height: Int
actual abstract val height: Int
Link copied to clipboard
expect abstract val layers: Int
actual abstract val layers: Int
actual abstract val layers: Int
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
Link copied to clipboard
expect abstract var wrapU: WrapMode

the wrapping mode to use in the horizontal direction

actual abstract var wrapU: WrapMode

the wrapping mode to use in the horizontal direction

actual abstract var wrapU: WrapMode

the wrapping mode to use in the horizontal direction

Link copied to clipboard
expect abstract var wrapV: WrapMode

the wrapping mode to use in the vertical direction

actual abstract var wrapV: WrapMode

the wrapping mode to use in the vertical direction

actual abstract var wrapV: WrapMode

the wrapping mode to use in the vertical direction

Extensions

Link copied to clipboard
fun ArrayTexture.imageBinding(level: Int = 0, imageAccess: ImageAccess): ArrayTextureImageBinding

Sources

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard