spock
Toggle table of contents
0.0.1-alpha.3
Select version
0.0.1-alpha.3
0.0.1-alpha.2
0.0.1-alpha.1
common
Platform filter
common
Switch theme
Search in API
spock
core
/
quest.laxla.spock
/
MyApplication
My
Application
class
MyApplication
(
val
device
:
Device
,
val
surface
:
Surface
,
val
format
:
TextureFormat
=
surface.canvasFormat
)
:
WebGpuApplication
,
Closer
(
source
)
Members
Constructors
My
Application
Link copied to clipboard
constructor
(
device
:
Device
,
surface
:
Surface
,
format
:
TextureFormat
=
surface.canvasFormat
)
Properties
device
Link copied to clipboard
open
override
val
device
:
Device
format
Link copied to clipboard
open
override
val
format
:
TextureFormat
surface
Link copied to clipboard
open
override
val
surface
:
Surface
Functions
close
Link copied to clipboard
open
suspend override
fun
close
(
)
contains
Link copied to clipboard
open
operator override
fun
contains
(
closeable
:
SuspendCloseable
)
:
Boolean
render
Frame
Link copied to clipboard
open
suspend override
fun
renderFrame
(
)
unary
Plus
Link copied to clipboard
open
operator override
fun
<
T
:
AutoCloseable
>
T
.
unaryPlus
(
)
:
T
open
operator override
fun
<
T
:
SuspendCloseable
>
T
.
unaryPlus
(
)
:
T