WebGLSpriteBatch Class
Constructor
WebGLSpriteBatch
    
        
            (
    
    
    
    
        private
    
    
    
    
    
    
    - 
                    
                        gl
Parameters:
- 
                    
                        glWebGLContextthe current WebGL drawing context 
Item Index
Methods
Methods
begin
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        renderSession
Parameters:
- 
                    
                        renderSessionRenderSessionthe RenderSession 
destroy
    
        ()
    
    
    
    
    
    
    
    
    
    Destroys the SpriteBatch
end
    
        ()
    
    
    
    
    
    
    
    
    
    flush
    
        ()
    
    
    
    
    
    
    
    
    
    Renders the content and empties the current batch
renderTilingSprite
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        sprite
Renders a tilingSprite using the spriteBatch
Parameters:
- 
                    
                        spriteTilingSpritethe tilingSprite to render 
setContext
    
        
            (
    
    
    
    
    
    
    
    
    
    - 
                    
                        gl
Parameters:
- 
                    
                        glWebGLContextthe current WebGL drawing context 
start
    
        ()
    
    
    
    
    
    
    
    
    
    stop
    
        ()
    
    
    
    
    
    
    
    
    
    Properties
indices
    Uint16Array
    
    
    
    
    
    Holds the indices
size
    Number
    
    
    
    
    
    The number of images in the SpriteBatch before it flushes
vertices
    Float32Array
    
    
    
    
    
    Holds the vertices
