toggle menu
korge-root
5.1.0
jvm
switch theme
search in API
korge
/
korlibs.render.osx.metal
/
MTLTexture
MTLTexture
jvm
interface
MTLTexture
:
MTLResource
Members
Members & Extensions
Properties
__id
Link copied to clipboard
jvm
open
val
__id
:
Long
allocated
Size
Link copied to clipboard
jvm
abstract
val
allocatedSize
:
Long
buffer
Link copied to clipboard
jvm
abstract
val
buffer
:
MTLBuffer
?
buffer
Bytes
Per
Row
Link copied to clipboard
jvm
abstract
val
bufferBytesPerRow
:
Long
buffer
Offset
Link copied to clipboard
jvm
abstract
val
bufferOffset
:
Long
cpu
Cache
Mode
Link copied to clipboard
jvm
abstract
val
cpuCacheMode
:
Long
depth
Link copied to clipboard
jvm
abstract
val
depth
:
Long
device
Link copied to clipboard
jvm
abstract
val
device
:
MTLDevice
?
height
Link copied to clipboard
jvm
abstract
val
height
:
Long
label
Link copied to clipboard
jvm
abstract
val
label
:
NSString
?
resource
Options
Link copied to clipboard
jvm
abstract
val
resourceOptions
:
Long
storage
Mode
Link copied to clipboard
jvm
abstract
val
storageMode
:
Long
texture
Type
Link copied to clipboard
jvm
abstract
val
textureType
:
Long
width
Link copied to clipboard
jvm
abstract
val
width
:
Long
Functions
dealloc
Link copied to clipboard
jvm
abstract
fun
dealloc
(
)
get
Bytes
Link copied to clipboard
jvm
abstract
fun
getBytes
(
getBytes
:
Pointer
,
bytesPerRow
:
Long
,
bytesPerImage
:
Long
,
fromRegion
:
MTLRegion.ByValue
,
mipmapLevel
:
Long
,
slice
:
Long
)
read
Bitmap
Link copied to clipboard
jvm
fun
MTLTexture
.
readBitmap
(
rect
:
RectangleInt
=
RectangleInt(0, 0, width.toInt(), height.toInt())
)
:
Bitmap32
set
Label
Link copied to clipboard
jvm
abstract
fun
setLabel
(
label
:
NSString
?
)
set
Purgeable
State
Link copied to clipboard
jvm
abstract
fun
setPurgeableState
(
state
:
Long
)
:
Long