Preparing search index...
The search index is not available
Wayward Types Viewer | 2.14.0-beta.dev.20240903.1
Wayward Types Viewer
renderer/platform/webgpu/WorldRendererWebGpu
WorldRendererWebGpu
Class WorldRendererWebGpu
Hierarchy
WorldRendererWebGpu
Implements
IWorldRendererPlatform
Index
Constructors
constructor
Methods
create
Tile
Layer
delete
render
render
World
sync
Viewport
Constructors
constructor
new
World
Renderer
Web
Gpu
(
context
:
WebGpuRendererContext
, worldRenderer
:
WorldRenderer
)
:
WorldRendererWebGpu
Parameters
context:
WebGpuRendererContext
worldRenderer:
WorldRenderer
Returns
WorldRendererWebGpu
Methods
create
Tile
Layer
create
Tile
Layer
(
type
:
TileLayerType
, width
:
number
, height
:
number
, isFixedDepth
?:
boolean
, yRenderOffset
?:
number
, tileAnimationFrames
?:
number
, syncDoodadAnimationFrames
?:
number
)
:
ITileLayerRendererPlatform
Parameters
type:
TileLayerType
width:
number
height:
number
Optional
isFixedDepth:
boolean
Optional
yRenderOffset:
number
Optional
tileAnimationFrames:
number
Optional
syncDoodadAnimationFrames:
number
Returns
ITileLayerRendererPlatform
delete
delete
(
)
:
void
Returns
void
render
render
(
)
:
void
Returns
void
render
World
render
World
(
timeStamp
:
number
, x
:
number
, y
:
number
, z
:
number
)
:
void
Parameters
timeStamp:
number
x:
number
y:
number
z:
number
Returns
void
sync
Viewport
sync
Viewport
(
viewport
:
IVector2
)
:
void
Parameters
viewport:
IVector2
Returns
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Navigation
Modding Guide
Module Index
Common Modules
@Register
IDoodadDescription
IItemDescription
ITerrainDescription
ITileEventDescription
ICreatureDescription
In This Module
World
Renderer
Web
Gpu
constructor
create
Tile
Layer
delete
render
render
World
sync
Viewport
Generated using
TypeDoc