Preparing search index...
The search index is not available
Wayward Types Viewer | 2.13.5-beta
Wayward Types Viewer
renderer/context/RendererContext
default
Class default
Hierarchy
default
Index
Constructors
constructor
Properties
gl
renderer
web
Gl
Context
Accessors
is
Web
Gl2
origin
viewport
Methods
create
Persistant
Sprite
Batch
create
Sprite
Batch
Constructors
constructor
new default
(
renderer
:
default
, baseRendererContext
:
default
)
:
default
Parameters
renderer:
default
baseRendererContext:
default
Returns
default
Properties
Readonly
gl
gl
:
WebGL2RenderingContext
Readonly
renderer
renderer
:
default
Readonly
web
Gl
Context
web
Gl
Context
:
default
Accessors
is
Web
Gl2
get
isWebGl2
(
)
:
boolean
Returns
boolean
origin
get
origin
(
)
:
IRendererOrigin
Returns
IRendererOrigin
viewport
get
viewport
(
)
:
IVector2
Returns
IVector2
Methods
create
Persistant
Sprite
Batch
create
Persistant
Sprite
Batch
(
depthOffset
?:
number
, yOffset
?:
number
, enableAlphaMultiplcation
?:
boolean
)
:
PersistantSpriteBatch
Parameters
depthOffset:
number
= 0.0
yOffset:
number
= 0.0
enableAlphaMultiplcation:
boolean
= true
Returns
PersistantSpriteBatch
create
Sprite
Batch
create
Sprite
Batch
(
capacity
:
number
, depthOffset
?:
number
, yOffset
?:
number
, enableAlphaMultiplcation
?:
boolean
, enforceBeginAndEnd
?:
boolean
)
:
default
|
default
Parameters
capacity:
number
depthOffset:
number
= 0.0
yOffset:
number
= 0.0
enableAlphaMultiplcation:
boolean
= true
enforceBeginAndEnd:
boolean
= true
Returns
default
|
default
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
default
constructor
gl
renderer
web
Gl
Context
is
Web
Gl2
origin
viewport
create
Persistant
Sprite
Batch
create
Sprite
Batch
Generated using
TypeDoc