Texture

inner class Texture(desiredWidth: Int, desiredHeight: Int) : AutoCloseable

Constructors

Link copied to clipboard
constructor(desiredWidth: Int, desiredHeight: Int)

Properties

Link copied to clipboard
Link copied to clipboard

Aligned width/height that is needed for performance optimization, since DirectX uses aligned bytebuffer.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
fun readPixels(byteArray: ByteArray)
Link copied to clipboard