Search
Preparing search index...
The search index is not available
SDF-2D - v0.3.1
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
DistanceRenderPass
Class DistanceRenderPass
Hierarchy
RenderPass
DistanceRenderPass
Index
Constructors
constructor
Properties
frame
is
World
Inverted
program
tile
Multiplier
Methods
add
Drawable
destroy
initialize
render
Constructors
constructor
new
Distance
Render
Pass
(
gl
:
UniversalRenderingContext
, frame
:
FrameBuffer
)
:
DistanceRenderPass
Parameters
gl:
UniversalRenderingContext
frame:
FrameBuffer
Returns
DistanceRenderPass
Properties
Protected
frame
frame
:
FrameBuffer
is
World
Inverted
is
World
Inverted
:
boolean
= false
Protected
program
program
:
UniformArrayAutoScalingProgram
tile
Multiplier
tile
Multiplier
:
number
= 8
Methods
add
Drawable
add
Drawable
(
drawable
:
Drawable
)
:
void
Parameters
drawable:
Drawable
Returns
void
destroy
destroy
(
)
:
void
Returns
void
initialize
initialize
(
shaderSources
:
[
string
,
string
]
, descriptors
:
Array
<
DrawableDescriptor
>
, substitutions
?:
{}
, compiler
:
ParallelCompiler
)
:
Promise
<
void
>
Parameters
shaderSources:
[
string
,
string
]
descriptors:
Array
<
DrawableDescriptor
>
Default value
substitutions:
{}
= {}
[
name:
string
]:
any
compiler:
ParallelCompiler
Returns
Promise
<
void
>
render
render
(
commonUniforms
:
any
,
...
inputTextures
:
Array
<
WebGLTexture
>
)
:
void
Parameters
commonUniforms:
any
Rest
...
inputTextures:
Array
<
WebGLTexture
>
Returns
void
Globals
Distance
Render
Pass
constructor
frame
is
World
Inverted
program
tile
Multiplier
add
Drawable
destroy
initialize
render