wgpu4k-toolkit
Toggle table of contents
0.0.1
android
common
commonWeb
desktopNative
ios
jvm
Platform filter
android
common
commonWeb
desktopNative
ios
jvm
Switch theme
Search in API
wgpu4k-toolkit
wgpu4k-toolkit
/
io.ygdrasil.webgpu
/
Surface
Surface
android
common
commonWeb
desktopNative
ios
jvm
actual
class
Surface
:
AutoCloseable
expect
class
Surface
:
AutoCloseable
actual
class
Surface
:
AutoCloseable
actual
class
Surface
:
AutoCloseable
actual
class
Surface
:
AutoCloseable
actual
class
Surface
:
AutoCloseable
Members
Constructors
Surface
Link copied to clipboard
android
commonWeb
desktopNative
ios
jvm
constructor
(
handler
:
NativeSurface
,
width
:
UInt
,
height
:
UInt
)
constructor
(
handler
:
CanvasSurface
)
constructor
(
handler
:
NativeSurface
,
windowHandler
:
CPointer
<
<Error class: unknown class>
>
)
constructor
(
handler
:
NativeSurface
,
width
:
UInt
,
height
:
UInt
)
constructor
(
handler
:
NativeSurface
,
windowHandler
:
Long
)
Properties
height
Link copied to clipboard
android
common
commonWeb
desktopNative
ios
jvm
actual
val
height
:
UInt
expect
val
height
:
UInt
actual
val
height
:
UInt
actual
val
height
:
UInt
actual
val
height
:
UInt
actual
val
height
:
UInt
preferred
Canvas
Format
Link copied to clipboard
android
common
commonWeb
desktopNative
ios
jvm
actual
val
preferredCanvasFormat
:
TextureFormat
?
=
null
expect
val
preferredCanvasFormat
:
TextureFormat
?
actual
val
preferredCanvasFormat
:
TextureFormat
?
actual
val
preferredCanvasFormat
:
TextureFormat
?
=
null
actual
val
preferredCanvasFormat
:
TextureFormat
?
=
null
actual
val
preferredCanvasFormat
:
TextureFormat
?
=
null
supported
Alpha
Mode
Link copied to clipboard
android
common
commonWeb
desktopNative
ios
jvm
actual
val
supportedAlphaMode
:
Set
<
CompositeAlphaMode
>
expect
val
supportedAlphaMode
:
Set
<
CompositeAlphaMode
>
actual
val
supportedAlphaMode
:
Set
<
CompositeAlphaMode
>
actual
val
supportedAlphaMode
:
Set
<
CompositeAlphaMode
>
actual
val
supportedAlphaMode
:
Set
<
CompositeAlphaMode
>
actual
val
supportedAlphaMode
:
Set
<
CompositeAlphaMode
>
supported
Formats
Link copied to clipboard
android
common
commonWeb
desktopNative
ios
jvm
actual
val
supportedFormats
:
Set
<
TextureFormat
>
expect
val
supportedFormats
:
Set
<
TextureFormat
>
actual
val
supportedFormats
:
Set
<
TextureFormat
>
actual
val
supportedFormats
:
Set
<
TextureFormat
>
actual
val
supportedFormats
:
Set
<
TextureFormat
>
actual
val
supportedFormats
:
Set
<
TextureFormat
>
width
Link copied to clipboard
android
common
commonWeb
desktopNative
ios
jvm
actual
val
width
:
UInt
expect
val
width
:
UInt
actual
val
width
:
UInt
actual
val
width
:
UInt
actual
val
width
:
UInt
actual
val
width
:
UInt
Functions
close
Link copied to clipboard
android
common
commonWeb
desktopNative
ios
jvm
actual
open
override
fun
close
(
)
expect
open
override
fun
close
(
)
actual
open
override
fun
close
(
)
actual
open
override
fun
close
(
)
actual
open
override
fun
close
(
)
actual
open
override
fun
close
(
)
configure
Link copied to clipboard
android
common
commonWeb
desktopNative
ios
jvm
actual
fun
configure
(
surfaceConfiguration
:
SurfaceConfiguration
)
expect
fun
configure
(
surfaceConfiguration
:
SurfaceConfiguration
)
actual
fun
configure
(
surfaceConfiguration
:
SurfaceConfiguration
)
actual
fun
configure
(
surfaceConfiguration
:
SurfaceConfiguration
)
actual
fun
configure
(
surfaceConfiguration
:
SurfaceConfiguration
)
actual
fun
configure
(
surfaceConfiguration
:
SurfaceConfiguration
)
get
Current
Texture
Link copied to clipboard
android
common
commonWeb
desktopNative
ios
jvm
actual
fun
getCurrentTexture
(
)
:
SurfaceTexture
expect
fun
getCurrentTexture
(
)
:
SurfaceTexture
actual
fun
getCurrentTexture
(
)
:
SurfaceTexture
actual
fun
getCurrentTexture
(
)
:
SurfaceTexture
actual
fun
getCurrentTexture
(
)
:
SurfaceTexture
actual
fun
getCurrentTexture
(
)
:
SurfaceTexture
present
Link copied to clipboard
android
common
commonWeb
desktopNative
ios
jvm
actual
fun
present
(
)
expect
fun
present
(
)
actual
fun
present
(
)
actual
fun
present
(
)
actual
fun
present
(
)
actual
fun
present
(
)