MTLTexture

Properties

Link copied to clipboard
open val __id: Long
Link copied to clipboard
abstract val allocatedSize: Long
Link copied to clipboard
abstract val buffer: MTLBuffer?
Link copied to clipboard
abstract val bufferBytesPerRow: Long
Link copied to clipboard
abstract val bufferOffset: Long
Link copied to clipboard
abstract val cpuCacheMode: Long
Link copied to clipboard
abstract val depth: Long
Link copied to clipboard
abstract val device: MTLDevice?
Link copied to clipboard
abstract val height: Long
Link copied to clipboard
abstract val label: NSString?
Link copied to clipboard
abstract val resourceOptions: Long
Link copied to clipboard
abstract val storageMode: Long
Link copied to clipboard
abstract val textureType: Long
Link copied to clipboard
abstract val width: Long

Functions

Link copied to clipboard
abstract fun dealloc()
Link copied to clipboard
abstract fun getBytes(getBytes: Pointer, bytesPerRow: Long, bytesPerImage: Long, fromRegion: MTLRegion.ByValue, mipmapLevel: Long, slice: Long)
Link copied to clipboard
fun MTLTexture.readBitmap(rect: RectangleInt = RectangleInt(0, 0, width.toInt(), height.toInt())): Bitmap32
Link copied to clipboard
abstract fun setLabel(label: NSString?)
Link copied to clipboard
abstract fun setPurgeableState(state: Long): Long