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
/
RenderPassEncoder
/
setViewport
set
Viewport
common
commonNative
js
wasmJs
expect
fun
setViewport
(
x
:
Float
,
y
:
Float
,
width
:
Float
,
height
:
Float
,
minDepth
:
Float
,
maxDepth
:
Float
)
actual
fun
setViewport
(
x
:
Float
,
y
:
Float
,
width
:
Float
,
height
:
Float
,
minDepth
:
Float
,
maxDepth
:
Float
)
actual
fun
setViewport
(
x
:
Float
,
y
:
Float
,
width
:
Float
,
height
:
Float
,
minDepth
:
Float
,
maxDepth
:
Float
)
actual
fun
setViewport
(
x
:
Float
,
y
:
Float
,
width
:
Float
,
height
:
Float
,
minDepth
:
Float
,
maxDepth
:
Float
)