Preparing search index...
The search index is not available
Wayward Types Viewer | 2.14.0-beta.dev.20240903.1
Wayward Types Viewer
renderer/platform/webgl/WorldRendererWebGl
WorldRendererWebGl
Class WorldRendererWebGl
Hierarchy
WorldRendererWebGl
Implements
IWorldRendererPlatform
Index
Constructors
constructor
Properties
dither
Texture
position
Buffer
position
Texture
Buffer
Methods
create
Tile
Layer
delete
render
render
World
sync
Viewport
initialize
Programs
Constructors
constructor
new
World
Renderer
Web
Gl
(
context
:
WebGlRendererContext
, worldRenderer
:
WorldRenderer
)
:
WorldRendererWebGl
Parameters
context:
WebGlRendererContext
worldRenderer:
WorldRenderer
Returns
WorldRendererWebGl
Properties
Readonly
dither
Texture
dither
Texture
:
WebGLTexture
Readonly
position
Buffer
position
Buffer
:
WebGLBuffer
Readonly
position
Texture
Buffer
position
Texture
Buffer
:
WebGLBuffer
Methods
create
Tile
Layer
create
Tile
Layer
(
type
:
TileLayerType
, width
:
number
, height
:
number
, isFixedDepth
?:
boolean
, yRenderOffset
?:
number
, tileAnimationFrames
?:
number
, syncDoodadAnimationFrames
?:
number
)
:
TileLayerRendererWebGl
Parameters
type:
TileLayerType
width:
number
height:
number
isFixedDepth:
boolean
= false
yRenderOffset:
number
= 0
tileAnimationFrames:
number
= 2.0
syncDoodadAnimationFrames:
number
= -1
Returns
TileLayerRendererWebGl
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
Static
initialize
Programs
initialize
Programs
(
webGlContext
:
WebGlContext
)
:
Promise
<
void
>
Parameters
webGlContext:
WebGlContext
Returns
Promise
<
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
Gl
constructor
dither
Texture
position
Buffer
position
Texture
Buffer
create
Tile
Layer
delete
render
render
World
sync
Viewport
initialize
Programs
Generated using
TypeDoc