Cubemap

interface Cubemap

Types

Companion
Link copied to clipboard
object Companion

Functions

bind
Link copied to clipboard
common
abstract fun bind(textureUnit: Int = 0)
copyTo
Link copied to clipboard
abstract fun copyTo(target: Cubemap, fromLevel: Int = 0, toLevel: Int = 0)
abstract fun copyTo(target: ArrayCubemap, layer: Int, fromLevel: Int = 0, toLevel: Int = 0)
abstract fun copyTo(target: ColorBuffer, fromSide: CubemapSide, fromLevel: Int = 0, toLevel: Int = 0)
abstract fun copyTo(target: Cubemap, fromLevel: Int = 0, toLevel: Int = 0)
abstract fun copyTo(target: ArrayCubemap, layer: Int, fromLevel: Int = 0, toLevel: Int = 0)
abstract fun copyTo(target: ColorBuffer, fromSide: CubemapSide, fromLevel: Int = 0, toLevel: Int = 0)
abstract fun copyTo(target: Cubemap, fromLevel: Int = 0, toLevel: Int = 0)
abstract fun copyTo(target: ArrayCubemap, layer: Int, fromLevel: Int = 0, toLevel: Int = 0)
abstract fun copyTo(target: ColorBuffer, fromSide: CubemapSide, fromLevel: Int = 0, toLevel: Int = 0)
destroy
Link copied to clipboard
common
abstract fun destroy()
filter
Link copied to clipboard
abstract fun filter(min: MinifyingFilter, mag: MagnifyingFilter)
abstract fun filter(min: MinifyingFilter, mag: MagnifyingFilter)
abstract fun filter(min: MinifyingFilter, mag: MagnifyingFilter)
generateMipmaps
Link copied to clipboard
common
abstract fun generateMipmaps()
read
Link copied to clipboard
abstract fun read(side: CubemapSide, target: ByteBuffer, targetFormat: ColorFormat = format, targetType: ColorType = type, level: Int = 0)
write
Link copied to clipboard
abstract fun write(side: CubemapSide, source: ByteBuffer, sourceFormat: ColorFormat = format, sourceType: ColorType = type, level: Int = 0)
abstract fun write(side: CubemapSide, source: MPPBuffer, sourceFormat: ColorFormat, sourceType: ColorType, x: Int, y: Int, width: Int, height: Int, level: Int)
abstract fun write(side: CubemapSide, source: TexImageSource, sourceFormat: ColorFormat = this.format, sourceType: ColorType = this.type, x: Int = 0, y: Int = 0, level: Int = 0)
abstract fun write(side: CubemapSide, source: ArrayBufferView, sourceFormat: ColorFormat, sourceType: ColorType, x: Int = 0, y: Int = 0, width: Int = this.width, height: Int = this.width, level: Int = 0)
abstract fun write(side: CubemapSide, source: MPPBuffer, sourceFormat: ColorFormat, sourceType: ColorType, x: Int, y: Int, width: Int, height: Int, level: Int)

Properties

format
Link copied to clipboard
abstract val format: ColorFormat
abstract val format: ColorFormat
abstract val format: ColorFormat
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 Cubemap.imageBinding(level: Int = 0, imageAccess: ImageAccess): CubemapImageBinding