ColorBufferGL3

class ColorBufferGL3(val target: Int, val texture: Int, val width: Int, val height: Int, val contentScale: Double, val format: ColorFormat, val type: ColorType, val levels: Int, val multisample: BufferMultisample, val session: Session?) : ColorBuffer(source)

Constructors

Link copied to clipboard
constructor(target: Int, texture: Int, width: Int, height: Int, contentScale: Double, format: ColorFormat, type: ColorType, levels: Int, multisample: BufferMultisample, session: Session?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override var anisotropy: Double
Link copied to clipboard
Link copied to clipboard
open override val contentScale: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var filterMag: MagnifyingFilter
Link copied to clipboard
open override var filterMin: MinifyingFilter
Link copied to clipboard
open override var flipV: Boolean
Link copied to clipboard
open override val format: ColorFormat
Link copied to clipboard
open override val height: Int
Link copied to clipboard
open override val levels: Int
Link copied to clipboard
open override val multisample: BufferMultisample
Link copied to clipboard
Link copied to clipboard
open override val session: Session?
Link copied to clipboard
open override val shadow: ColorBufferShadow
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
Link copied to clipboard
open override var wrapU: WrapMode
Link copied to clipboard
open override var wrapV: WrapMode

Functions

Link copied to clipboard
open override fun bind(unit: Int)
Link copied to clipboard
fun <T> bound(f: ColorBufferGL3.() -> T): T
Link copied to clipboard
fun bufferSize(level: Int): Long
Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun copyTo(target: ArrayTexture, layer: Int, fromLevel: Int, toLevel: Int)
open override fun copyTo(target: ColorBuffer, fromLevel: Int, toLevel: Int, filter: MagnifyingFilter)
open override fun copyTo(target: ColorBuffer, fromLevel: Int, toLevel: Int, sourceRectangle: IntRectangle, targetRectangle: IntRectangle, filter: MagnifyingFilter)
Link copied to clipboard
fun crop(sourceRectangle: IntRectangle): ColorBuffer
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
Link copied to clipboard
open override fun fill(color: ColorRGBa, level: Int)
Link copied to clipboard
open override fun filter(filterMin: MinifyingFilter, filterMag: MagnifyingFilter)
Link copied to clipboard
open override fun generateMipmaps()
Link copied to clipboard
open override fun read(targetBuffer: ByteBuffer, targetFormat: ColorFormat, targetType: ColorType, level: Int)
Link copied to clipboard
fun saveToFile(file: File, async: Boolean, configurator: ImageSaveContext.() -> ImageSaveConfiguration)
open override fun saveToFile(file: File, async: Boolean, configuration: ImageSaveConfiguration)
open override fun saveToFile(file: File, imageFileFormat: ImageFileFormat, async: Boolean)
Link copied to clipboard
open override fun toDataUrl(imageFileFormat: ImageFileFormat): String
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun write(sourceBuffer: ByteBuffer, sourceFormat: ColorFormat, sourceType: ColorType, level: Int)
open override fun write(sourceBuffer: MPPBuffer, sourceFormat: ColorFormat, sourceType: ColorType, x: Int, y: Int, width: Int, height: Int, level: Int)