Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SpriteRenderer

Hierarchy

Index

Constructors

constructor

Properties

buffers

buffers: BatchBuffer[]

currentIndex

currentIndex: number

groups

groups: any[]

indices

indices: number[]

Protected onContextChanged

onContextChanged: function

Type declaration

    • (): void
    • Returns void

Protected onPrerender

onPrerender: function

Type declaration

    • (): void
    • Returns void

renderer

renderer: SystemRenderer

shaders

shaders: Shader[]

size

size: number

sprites

sprites: Sprite[]

tick

tick: number

vaoMax

vaoMax: number

vaos

vertByteSize

vertByteSize: number

vertSize

vertSize: number

vertexBuffers

vertexBuffers: number[]

vertexCount

vertexCount: number

Methods

destroy

  • destroy(): void
  • Returns void

flush

  • flush(): void
  • Returns void

onContextChange

  • onContextChange(): void

render

  • render(sprite: Sprite): void

start

  • start(): void
  • Returns void

stop

  • stop(): void
  • Returns void

Generated using TypeDoc