toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-web
/
web.gpu
/
GPUTexture
GPUTexture
external
class
GPUTexture
:
GPUObjectBase
(
source
)
Available only in secure contexts.
MDN Reference
Members
Properties
depth
Or
Array
Layers
Link copied to clipboard
val
depthOrArrayLayers
:
GPUIntegerCoordinateOut
MDN Reference
dimension
Link copied to clipboard
val
dimension
:
GPUTextureDimension
MDN Reference
format
Link copied to clipboard
val
format
:
GPUTextureFormat
MDN Reference
height
Link copied to clipboard
val
height
:
GPUIntegerCoordinateOut
MDN Reference
label
Link copied to clipboard
open
var
label
:
String
MDN Reference
mip
Level
Count
Link copied to clipboard
val
mipLevelCount
:
GPUIntegerCoordinateOut
MDN Reference
sample
Count
Link copied to clipboard
val
sampleCount
:
GPUSize32Out
MDN Reference
usage
Link copied to clipboard
val
usage
:
GPUFlagsConstant
MDN Reference
width
Link copied to clipboard
val
width
:
GPUIntegerCoordinateOut
MDN Reference
Functions
create
View
Link copied to clipboard
fun
createView
(
descriptor
:
GPUTextureViewDescriptor
=
definedExternally
)
:
GPUTextureView
MDN Reference
destroy
Link copied to clipboard
fun
destroy
(
)
MDN Reference