CubemapWebGL

class CubemapWebGL(val context: WebGLRenderingContext, val target: Int, val texture: WebGLTexture, val width: Int, val format: ColorFormat, val type: ColorType, val levels: Int, val session: Session?) : Cubemap(source)

Constructors

Link copied to clipboard
constructor(context: WebGLRenderingContext, target: Int, texture: WebGLTexture, width: Int, format: ColorFormat, type: ColorType, levels: Int, session: Session?)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun bind(textureUnit: Int)
Link copied to clipboard
open override fun copyTo(target: Cubemap, fromLevel: Int, toLevel: Int)
open override fun copyTo(target: ArrayCubemap, layer: Int, fromLevel: Int, toLevel: Int)
open override fun copyTo(target: ColorBuffer, fromSide: CubemapSide, fromLevel: Int, toLevel: Int)
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open override fun filter(min: MinifyingFilter, mag: MagnifyingFilter)
Link copied to clipboard
open override fun generateMipmaps()
Link copied to clipboard
open override fun write(side: CubemapSide, source: TexImageSource, sourceFormat: ColorFormat, sourceType: ColorType, x: Int, y: Int, level: Int)
open override fun write(side: CubemapSide, source: ArrayBufferView, sourceFormat: ColorFormat, sourceType: ColorType, x: Int, y: Int, width: Int, height: Int, level: Int)
open override fun write(side: CubemapSide, source: MPPBuffer, sourceFormat: ColorFormat, sourceType: ColorType, x: Int, y: Int, width: Int, height: Int, level: Int)

Properties

Link copied to clipboard
Link copied to clipboard
open override val format: ColorFormat
Link copied to clipboard
open override val levels: Int
Link copied to clipboard
open override val session: Session?
Link copied to clipboard
val target: Int
Link copied to clipboard
Link copied to clipboard
open override val type: ColorType
Link copied to clipboard
open override val width: Int