@awayjs
stage
Search
Preparing search index...
The search index is not available
Options
Show Inherited
Menu
Interface IContextGL
Hierarchy
IContextGL
Implemented by
ContextFlash
ContextGLES
ContextSoftware
ContextWebGL
Index
Properties
container
pixel
Ratio
Methods
clear
configure
Back
Buffer
create
Cube
Texture
create
Index
Buffer
create
Program
create
Texture
create
Vertex
Buffer
disable
Stencil
dispose
draw
Indices
draw
ToBitmap
Image2D
draw
Vertices
enable
Stencil
present
set
Blend
Factors
set
Color
Mask
set
Culling
set
Depth
Test
set
Program
set
Program
Constants
From
Array
set
Render
ToBack
Buffer
set
Render
ToTexture
set
Sampler
State
At
set
Scissor
Rectangle
set
Stencil
Actions
set
Stencil
Reference
Value
set
Texture
At
set
Vertex
Buffer
At
Properties
container
container
:
HTMLCanvasElement
pixel
Ratio
pixel
Ratio
:
number
Methods
clear
clear
(
red
?:
number
, green
?:
number
, blue
?:
number
, alpha
?:
number
, depth
?:
number
, stencil
?:
number
, mask
?:
number
)
:
any
Parameters
Optional
red:
number
Optional
green:
number
Optional
blue:
number
Optional
alpha:
number
Optional
depth:
number
Optional
stencil:
number
Optional
mask:
number
Returns
any
configure
Back
Buffer
configure
Back
Buffer
(
width
:
number
, height
:
number
, antiAlias
:
number
, enableDepthAndStencil
?:
boolean
)
:
any
Parameters
width:
number
height:
number
antiAlias:
number
Optional
enableDepthAndStencil:
boolean
Returns
any
create
Cube
Texture
create
Cube
Texture
(
size
:
number
, format
:
ContextGLTextureFormat
, optimizeForRenderToTexture
:
boolean
, streamingLevels
?:
number
)
:
ICubeTexture
Parameters
size:
number
format:
ContextGLTextureFormat
optimizeForRenderToTexture:
boolean
Optional
streamingLevels:
number
Returns
ICubeTexture
create
Index
Buffer
create
Index
Buffer
(
numIndices
:
number
)
:
IIndexBuffer
Parameters
numIndices:
number
Returns
IIndexBuffer
create
Program
create
Program
(
)
:
IProgram
Returns
IProgram
create
Texture
create
Texture
(
width
:
number
, height
:
number
, format
:
ContextGLTextureFormat
, optimizeForRenderToTexture
:
boolean
, streamingLevels
?:
number
)
:
ITexture
Parameters
width:
number
height:
number
format:
ContextGLTextureFormat
optimizeForRenderToTexture:
boolean
Optional
streamingLevels:
number
Returns
ITexture
create
Vertex
Buffer
create
Vertex
Buffer
(
numVertices
:
number
, dataPerVertex
:
number
)
:
IVertexBuffer
Parameters
numVertices:
number
dataPerVertex:
number
Returns
IVertexBuffer
disable
Stencil
disable
Stencil
(
)
:
any
Returns
any
dispose
dispose
(
)
:
any
Returns
any
draw
Indices
draw
Indices
(
mode
:
ContextGLDrawMode
, indexBuffer
:
IIndexBuffer
, firstIndex
?:
number
, numIndices
?:
number
)
:
any
Parameters
mode:
ContextGLDrawMode
indexBuffer:
IIndexBuffer
Optional
firstIndex:
number
Optional
numIndices:
number
Returns
any
draw
ToBitmap
Image2D
draw
ToBitmap
Image2D
(
destination
:
BitmapImage2D
)
:
any
Parameters
destination:
BitmapImage2D
Returns
any
draw
Vertices
draw
Vertices
(
mode
:
ContextGLDrawMode
, firstVertex
?:
number
, numVertices
?:
number
)
:
any
Parameters
mode:
ContextGLDrawMode
Optional
firstVertex:
number
Optional
numVertices:
number
Returns
any
enable
Stencil
enable
Stencil
(
)
:
any
Returns
any
present
present
(
)
:
any
Returns
any
set
Blend
Factors
set
Blend
Factors
(
sourceFactor
:
ContextGLBlendFactor
, destinationFactor
:
ContextGLBlendFactor
)
:
any
Parameters
sourceFactor:
ContextGLBlendFactor
destinationFactor:
ContextGLBlendFactor
Returns
any
set
Color
Mask
set
Color
Mask
(
red
:
boolean
, green
:
boolean
, blue
:
boolean
, alpha
:
boolean
)
:
any
Parameters
red:
boolean
green:
boolean
blue:
boolean
alpha:
boolean
Returns
any
set
Culling
set
Culling
(
triangleFaceToCull
:
ContextGLTriangleFace
, coordinateSystem
?:
CoordinateSystem
)
:
any
Parameters
triangleFaceToCull:
ContextGLTriangleFace
Optional
coordinateSystem:
CoordinateSystem
Returns
any
set
Depth
Test
set
Depth
Test
(
depthMask
:
boolean
, passCompareMode
:
ContextGLCompareMode
)
:
any
Parameters
depthMask:
boolean
passCompareMode:
ContextGLCompareMode
Returns
any
set
Program
set
Program
(
program
:
IProgram
)
:
any
Parameters
program:
IProgram
Returns
any
set
Program
Constants
From
Array
set
Program
Constants
From
Array
(
programType
:
number
, data
:
Float32Array
)
:
any
Parameters
programType:
number
data:
Float32Array
Returns
any
set
Render
ToBack
Buffer
set
Render
ToBack
Buffer
(
)
:
any
Returns
any
set
Render
ToTexture
set
Render
ToTexture
(
target
:
ITextureBase
, enableDepthAndStencil
?:
boolean
, antiAlias
?:
number
, surfaceSelector
?:
number
)
:
any
Parameters
target:
ITextureBase
Optional
enableDepthAndStencil:
boolean
Optional
antiAlias:
number
Optional
surfaceSelector:
number
Returns
any
set
Sampler
State
At
set
Sampler
State
At
(
sampler
:
number
, wrap
:
ContextGLWrapMode
, filter
:
ContextGLTextureFilter
, mipfilter
:
ContextGLMipFilter
)
:
any
Parameters
sampler:
number
wrap:
ContextGLWrapMode
filter:
ContextGLTextureFilter
mipfilter:
ContextGLMipFilter
Returns
any
set
Scissor
Rectangle
set
Scissor
Rectangle
(
rectangle
:
Rectangle
)
:
any
Parameters
rectangle:
Rectangle
Returns
any
set
Stencil
Actions
set
Stencil
Actions
(
triangleFace
?:
ContextGLTriangleFace
, compareMode
?:
ContextGLCompareMode
, actionOnBothPass
?:
ContextGLStencilAction
, actionOnDepthFail
?:
ContextGLStencilAction
, actionOnDepthPassStencilFail
?:
ContextGLStencilAction
, coordinateSystem
?:
CoordinateSystem
)
:
any
Parameters
Optional
triangleFace:
ContextGLTriangleFace
Optional
compareMode:
ContextGLCompareMode
Optional
actionOnBothPass:
ContextGLStencilAction
Optional
actionOnDepthFail:
ContextGLStencilAction
Optional
actionOnDepthPassStencilFail:
ContextGLStencilAction
Optional
coordinateSystem:
CoordinateSystem
Returns
any
set
Stencil
Reference
Value
set
Stencil
Reference
Value
(
referenceValue
:
number
, readMask
?:
number
, writeMask
?:
number
)
:
any
Parameters
referenceValue:
number
Optional
readMask:
number
Optional
writeMask:
number
Returns
any
set
Texture
At
set
Texture
At
(
sampler
:
number
, texture
:
ITextureBase
)
:
any
Parameters
sampler:
number
texture:
ITextureBase
Returns
any
set
Vertex
Buffer
At
set
Vertex
Buffer
At
(
index
:
number
, buffer
:
IVertexBuffer
, bufferOffset
?:
number
, format
?:
number
)
:
any
Parameters
index:
number
buffer:
IVertexBuffer
Optional
bufferOffset:
number
Optional
format:
number
Returns
any
ContextGLBlend
Factor
ContextGLClear
Mask
ContextGLCompare
Mode
ContextGLDraw
Mode
ContextGLMip
Filter
ContextGLProfile
ContextGLProgram
Type
ContextGLStencil
Action
ContextGLTexture
Filter
ContextGLTexture
Format
ContextGLTriangle
Face
ContextGLVertex
Buffer
Format
ContextGLWrap
Mode
Context
Mode
AGALMini
Assembler
AGALTokenizer
AGLSLParser
Animation
Register
Data
Animation
Set
Base
Animation
Set
Error
Animator
Base
Animator
Event
Basic
Material
Pass
Blend
Mode
Software
Compiler
Base
Context
Flash
ContextGLES
Context
Software
Context
WebGL
Cube
Texture
Flash
Cube
TextureGLES
Cube
Texture
Software
Cube
Texture
WebGL
Depth
Compare
Mode
Software
Description
Destination
FS
Flags
GLESAsset
Base
GLESConnector
GL_
Attributes
Buffer
GL_
Basic
Material
GL_
Bitmap
Image2D
GL_
Bitmap
Image
Cube
GL_
Elements
Base
GL_
External
Image2D
GL_
Image2D
GL_
Image
Base
GL_
Image
Cube
GL_
Material
Base
GL_
Material
Pass
Base
GL_
Render
Image2D
GL_
Render
Image
Cube
GL_
Renderable
Base
GL_
Sampler2D
GL_
Sampler
Base
GL_
Sampler
Cube
GL_
Shape
Renderable
GL_
Single2DTexture
GL_
Single
Cube
Texture
GL_
Texture
Base
GL_
Triangle
Elements
GL_
Video
Source
Image2D
Header
Index
Buffer
Flash
Index
BufferGLES
Index
Buffer
Software
Index
Buffer
WebGL
Mapping
Material
Group
Base
Material
Pool
Op
Codes
OpLUT
Opcode
Opcode
Map
Part
Pass
Base
Pass
Event
Program
Data
Program
Data
Pool
Program
Flash
ProgramGLES
Program
Software
ProgramVOSoftware
Program
WebGL
Reg
Map
Register
Pool
Renderable
Pool
Resource
Base
Flash
Sampler
Sampler
Map
Sampler
State
Shader
Base
Shader
Register
Cache
Shader
Register
Data
Shader
Register
Element
Software
Sampler
State
Stage
Stage
Event
Stage
Manager
Texture
BaseGLES
Texture
Base
WebGL
Texture
Flash
TextureGLES
Texture
Software
Texture
WebGL
Token
Vertex
Buffer
Flash
Vertex
BufferGLES
Vertex
Buffer
Properties
Vertex
Buffer
Software
Vertex
Buffer
WebGL
GL_
IAsset
Class
IAnimation
State
IContextGL
ICube
Texture
IElements
ClassGL
IIndex
Buffer
IMaterial
ClassGL
IPass
IProgram
IRenderable
ClassGL
ITexture
ITexture
Base
ITexture
Base
Software
ITexture
Base
Software
Class
IVertex
Buffer
Generated using
TypeDoc