Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GraphicsRenderer

Hierarchy

Index

Constructors

constructor

Properties

CONTEXT_UID

CONTEXT_UID: number

gl

gl: WebGLRenderingContext

Protected graphicsDataPool

graphicsDataPool: GraphicsData[]

Protected primitiveShader

primitiveShader: PrimitiveShader

renderer

renderer: SystemRenderer

Methods

destroy

  • destroy(): void
  • Returns void

flush

  • flush(): void
  • Returns void

getWebGLData

  • getWebGLData(webGL: WebGLRenderingContext, type: number, nativeLines: number): WebGLGraphicsData
  • Parameters

    • webGL: WebGLRenderingContext
    • type: number
    • nativeLines: number

    Returns WebGLGraphicsData

onContextChange

  • onContextChange(): void

render

start

  • start(): void
  • Returns void

stop

  • stop(): void
  • Returns void

Protected updateGraphics

  • updateGraphics(graphics: Graphics): void
  • Parameters

    Returns void

Generated using TypeDoc