Search
Preparing search index...
The search index is not available
Spider Engine API
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
WebGL
Class WebGL
Hierarchy
WebGL
Index
Properties
cube
Map
Faces
primitive
Types
version
Accessors
context
Methods
create
do
enable
Blending
enable
Culling
enable
Depth
Test
enable
Depth
Write
set
Blend
Func
set
Cull
Mode
Object literals
caps
extensions
Properties
Static
cube
Map
Faces
cube
Map
Faces
:
number
[]
Static
primitive
Types
primitive
Types
:
object
Type declaration
[
type:
string
]:
number
Static
version
version
:
number
= 1
Accessors
Static
context
get
context
(
)
:
WebGLRenderingContext
Returns
WebGLRenderingContext
Methods
Static
create
create
(
context
:
WebGLRenderingContext
, version
:
number
)
:
void
Parameters
context:
WebGLRenderingContext
version:
number
Returns
void
Static
do
do
(
func
:
function
)
:
any
Parameters
func:
function
(
)
:
any
Returns
any
Returns
any
Static
enable
Blending
enable
Blending
(
enable
:
boolean
)
:
void
Parameters
enable:
boolean
Returns
void
Static
enable
Culling
enable
Culling
(
enable
:
boolean
)
:
void
Parameters
enable:
boolean
Returns
void
Static
enable
Depth
Test
enable
Depth
Test
(
enable
:
boolean
)
:
void
Parameters
enable:
boolean
Returns
void
Static
enable
Depth
Write
enable
Depth
Write
(
enable
:
boolean
)
:
void
Parameters
enable:
boolean
Returns
void
Static
set
Blend
Func
set
Blend
Func
(
src
:
number
, dest
:
number
)
:
void
Parameters
src:
number
dest:
number
Returns
void
Static
set
Cull
Mode
set
Cull
Mode
(
mode
:
number
)
:
void
Parameters
mode:
number
Returns
void
Object literals
Static
caps
caps
:
object
max
Vertex
Uniforms
max
Vertex
Uniforms
:
number
= 0
Static
extensions
extensions
:
object
OES_
standard_
derivatives
OES_
standard_
derivatives
:
boolean
= false
OES_
texture_
float
OES_
texture_
float
:
boolean
= false
WEBGL_
depth_
texture
WEBGL_
depth_
texture
:
boolean
= false
Globals
WebGL
cube
Map
Faces
primitive
Types
version
context
create
do
enable
Blending
enable
Culling
enable
Depth
Test
enable
Depth
Write
set
Blend
Func
set
Cull
Mode
caps
extensions