ArrayTexture

abstract class ArrayTexture

Functions

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

Copy contents in layer to target ColorBuffer

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

read
Link copied to clipboard
abstract fun read(layer: Int, buffer: ByteBuffer, level: Int = 0)
write
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

bounds
Link copied to clipboard
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

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

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

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

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

the wrapping mode to use in the horizontal direction

abstract var wrapU: WrapMode

the wrapping mode to use in the horizontal direction

abstract var wrapU: WrapMode

the wrapping mode to use in the horizontal direction

wrapV
Link copied to clipboard
abstract var wrapV: WrapMode

the wrapping mode to use in the vertical direction

abstract var wrapV: WrapMode

the wrapping mode to use in the vertical direction

abstract var wrapV: WrapMode

the wrapping mode to use in the vertical direction

Extensions

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