webgl-dsl
Preparing search index...
Settings
Class Settings
Index
Constructors
constructor
Properties
apply
gl
Methods
active
Texture
array
Buffer
attribute
attributes
blend
blend
Equation
blend
Function
clear
Color
clear
Depth
cull
Face
cull
Face
Mode
depth
Function
depth
Test
elements
Buffer
frame
Buffer
line
Width
program
render
Buffer
render
Target
scissor
Box
scissor
Test
texture
textures
then
viewport
Constructors
constructor
new
Settings
(
gl
:
Gl
,
cache
:
SettingsCache
,
apply
?:
<
T
>
(
callback
:
()
=>
T
)
=>
T
,
)
:
Settings
Parameters
gl
:
Gl
cache
:
SettingsCache
apply
:
<
T
>
(
callback
:
()
=>
T
)
=>
T
= ...
Returns
Settings
Properties
Readonly
apply
apply
:
<
T
>
(
callback
:
()
=>
T
)
=>
T
= ...
Readonly
gl
gl
:
Gl
Methods
active
Texture
activeTexture
(
value
:
number
)
:
Settings
Parameters
value
:
number
Returns
Settings
array
Buffer
arrayBuffer
(
value
:
null
|
ArrayBuffer
)
:
Settings
Parameters
value
:
null
|
ArrayBuffer
Returns
Settings
attribute
attribute
(
location
:
AttributeLocation
,
pointer
:
null
|
AttributePointer
,
)
:
Settings
Parameters
location
:
AttributeLocation
pointer
:
null
|
AttributePointer
Returns
Settings
attributes
attributes
(
attributes
:
Map
<
AttributeLocation
,
AttributePointer
>
)
:
Settings
Parameters
attributes
:
Map
<
AttributeLocation
,
AttributePointer
>
Returns
Settings
blend
blend
(
value
:
boolean
)
:
Settings
Parameters
value
:
boolean
Returns
Settings
blend
Equation
blendEquation
(
rgb
:
BlendEquation
,
alpha
?:
BlendEquation
)
:
Settings
Parameters
rgb
:
BlendEquation
Optional
alpha
:
BlendEquation
Returns
Settings
blend
Function
blendFunction
(
srcRgb
:
BlendFunction
,
dstRgb
:
BlendFunction
,
srcAlpha
?:
BlendFunction
,
dstAlpha
?:
BlendFunction
,
)
:
Settings
Parameters
srcRgb
:
BlendFunction
dstRgb
:
BlendFunction
Optional
srcAlpha
:
BlendFunction
Optional
dstAlpha
:
BlendFunction
Returns
Settings
clear
Color
clearColor
(
r
:
number
,
g
:
number
,
b
:
number
,
a
:
number
)
:
Settings
Parameters
r
:
number
g
:
number
b
:
number
a
:
number
Returns
Settings
clear
Depth
clearDepth
(
value
:
number
)
:
Settings
Parameters
value
:
number
Returns
Settings
cull
Face
cullFace
(
value
:
boolean
)
:
Settings
Parameters
value
:
boolean
Returns
Settings
cull
Face
Mode
cullFaceMode
(
value
:
FaceCulling
)
:
Settings
Parameters
value
:
FaceCulling
Returns
Settings
depth
Function
depthFunction
(
value
:
DepthFunction
)
:
Settings
Parameters
value
:
DepthFunction
Returns
Settings
depth
Test
depthTest
(
value
:
boolean
)
:
Settings
Parameters
value
:
boolean
Returns
Settings
elements
Buffer
elementsBuffer
(
value
:
null
|
ElementsBuffer
)
:
Settings
Parameters
value
:
null
|
ElementsBuffer
Returns
Settings
frame
Buffer
frameBuffer
(
value
:
null
|
FrameBuffer
)
:
Settings
Parameters
value
:
null
|
FrameBuffer
Returns
Settings
line
Width
lineWidth
(
value
:
number
)
:
Settings
Parameters
value
:
number
Returns
Settings
program
program
(
value
:
null
|
Program
)
:
Settings
Parameters
value
:
null
|
Program
Returns
Settings
render
Buffer
renderBuffer
(
value
:
null
|
RenderBuffer
)
:
Settings
Parameters
value
:
null
|
RenderBuffer
Returns
Settings
render
Target
renderTarget
(
texture
:
Texture
)
:
Settings
Parameters
texture
:
Texture
Returns
Settings
scissor
Box
scissorBox
(
x
:
number
,
y
:
number
,
width
:
number
,
height
:
number
)
:
Settings
Parameters
x
:
number
y
:
number
width
:
number
height
:
number
Returns
Settings
scissor
Test
scissorTest
(
value
:
boolean
)
:
Settings
Parameters
value
:
boolean
Returns
Settings
texture
texture
(
i
:
number
,
texture
:
null
|
Texture
)
:
Settings
Parameters
i
:
number
texture
:
null
|
Texture
Returns
Settings
textures
textures
(
textures
:
(
null
|
Texture
)
[]
)
:
Settings
Parameters
textures
: (
null
|
Texture
)
[]
Returns
Settings
then
then
(
settings
:
Settings
)
:
Settings
Parameters
settings
:
Settings
Returns
Settings
viewport
viewport
(
x
:
number
,
y
:
number
,
width
:
number
,
height
:
number
)
:
Settings
Parameters
x
:
number
y
:
number
width
:
number
height
:
number
Returns
Settings
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
apply
gl
Methods
active
Texture
array
Buffer
attribute
attributes
blend
blend
Equation
blend
Function
clear
Color
clear
Depth
cull
Face
cull
Face
Mode
depth
Function
depth
Test
elements
Buffer
frame
Buffer
line
Width
program
render
Buffer
render
Target
scissor
Box
scissor
Test
texture
textures
then
viewport
webgl-dsl
Loading...