wgpu4k
Toggle table of contents
0.0.2
common
commonNative
js
wasmJs
Platform filter
common
commonNative
js
wasmJs
Switch theme
Search in API
wgpu4k
wgpu4k
/
io.ygdrasil.webgpu
/
Texture
Texture
common
commonNative
js
wasmJs
expect
class
Texture
:
AutoCloseable
actual
class
Texture
:
AutoCloseable
actual
class
Texture
:
AutoCloseable
actual
class
Texture
:
AutoCloseable
Members
Constructors
Texture
Link copied to clipboard
commonNative
js
wasmJs
constructor
(
handler
:
WGPUTexture
)
constructor
(
handler
:
GPUTexture
)
constructor
(
handler
:
GPUTexture
)
Properties
alpha
Mode
Link copied to clipboard
js
val
alphaMode
:
CompositeAlphaMode
depth
Or
Array
Layers
Link copied to clipboard
common
commonNative
js
wasmJs
expect
val
depthOrArrayLayers
:
GPUIntegerCoordinateOut
actual
val
depthOrArrayLayers
:
GPUIntegerCoordinateOut
actual
val
depthOrArrayLayers
:
GPUIntegerCoordinateOut
actual
val
depthOrArrayLayers
:
GPUIntegerCoordinateOut
dimension
Link copied to clipboard
common
commonNative
js
wasmJs
expect
val
dimension
:
TextureDimension
actual
val
dimension
:
TextureDimension
actual
val
dimension
:
TextureDimension
actual
val
dimension
:
TextureDimension
format
Link copied to clipboard
common
commonNative
js
wasmJs
expect
val
format
:
TextureFormat
actual
val
format
:
TextureFormat
actual
val
format
:
TextureFormat
actual
val
format
:
TextureFormat
height
Link copied to clipboard
common
commonNative
js
wasmJs
expect
val
height
:
GPUIntegerCoordinateOut
actual
val
height
:
GPUIntegerCoordinateOut
actual
val
height
:
GPUIntegerCoordinateOut
actual
val
height
:
GPUIntegerCoordinateOut
mip
Level
Count
Link copied to clipboard
common
commonNative
js
wasmJs
expect
val
mipLevelCount
:
GPUIntegerCoordinateOut
actual
val
mipLevelCount
:
GPUIntegerCoordinateOut
actual
val
mipLevelCount
:
GPUIntegerCoordinateOut
actual
val
mipLevelCount
:
GPUIntegerCoordinateOut
sample
Count
Link copied to clipboard
common
commonNative
js
wasmJs
expect
val
sampleCount
:
GPUSize32Out
actual
val
sampleCount
:
GPUSize32Out
actual
val
sampleCount
:
GPUSize32Out
actual
val
sampleCount
:
GPUSize32Out
usage
Link copied to clipboard
common
commonNative
js
wasmJs
expect
val
usage
:
GPUFlagsConstant
actual
val
usage
:
GPUFlagsConstant
actual
val
usage
:
GPUFlagsConstant
actual
val
usage
:
GPUFlagsConstant
width
Link copied to clipboard
common
commonNative
js
wasmJs
expect
val
width
:
GPUIntegerCoordinateOut
actual
val
width
:
GPUIntegerCoordinateOut
actual
val
width
:
GPUIntegerCoordinateOut
actual
val
width
:
GPUIntegerCoordinateOut
Functions
close
Link copied to clipboard
common
commonNative
js
wasmJs
expect
open
override
fun
close
(
)
actual
open
override
fun
close
(
)
actual
open
override
fun
close
(
)
actual
open
override
fun
close
(
)
create
View
Link copied to clipboard
common
commonNative
js
wasmJs
expect
fun
createView
(
descriptor
:
TextureViewDescriptor
?
=
null
)
:
TextureView
actual
fun
createView
(
descriptor
:
TextureViewDescriptor
?
)
:
TextureView
actual
fun
createView
(
descriptor
:
TextureViewDescriptor
?
)
:
TextureView
actual
fun
createView
(
descriptor
:
TextureViewDescriptor
?
)
:
TextureView