API Docs for: 1.5.3
Show:

WebGLGraphics Class

A set of functions used by the webGL renderer to draw the primitive graphics data

Item Index

Methods

Methods

buildCircle

(
  • graphicsData
  • webGLData
)
private static

Builds a circle to draw

Parameters:

  • graphicsData Graphics

    The graphics object to draw

  • webGLData Object

buildLine

(
  • graphicsData
  • webGLData
)
private static

Builds a line to draw

Parameters:

  • graphicsData Graphics

    The graphics object containing all the necessary properties

  • webGLData Object

buildPoly

(
  • graphicsData
  • webGLData
)
private static

Builds a polygon to draw

Parameters:

  • graphicsData Graphics

    The graphics object containing all the necessary properties

  • webGLData Object

buildRectangle

(
  • graphicsData
  • webGLData
)
private static

Builds a rectangle to draw

Parameters:

  • graphicsData Graphics

    The graphics object containing all the necessary properties

  • webGLData Object

renderGraphics

(
  • graphics
  • renderSession
)
private static

Renders the graphics object

Parameters:

  • graphics Graphics
  • renderSession Object

updateGraphics

(
  • graphicsData
  • gl
)
private static

Updates the graphics object

Parameters:

  • graphicsData Graphics

    The graphics object to update

  • gl WebGLContext

    the current WebGL drawing context