CLASSES
TagsA - Z

Rectangle2DRenderCache

Description

class Rectangle2DRenderCache extends ModelRenderCache

Constructor

new Rectangle2DRenderCache(engine, modelKey)

Parameters

Name Type Description
engine Engine
modelKey string

Members

effectsReady : boolean

fillVB : WebGLBuffer

fillIB : WebGLBuffer

fillIndicesCount : number

instancingFillAttributes : InstancingAttributeInfo[]

effectFill : Effect

effectFillInstanced : Effect

borderVB : WebGLBuffer

borderIB : WebGLBuffer

borderIndicesCount : number

instancingBorderAttributes : InstancingAttributeInfo[]

effectBorder : Effect

effectBorderInstanced : Effect

Methods

render(instanceInfo, context) → boolean

Parameters

Name Type Description
instanceInfo GroupInstanceInfo
context Render2DContext

dispose() → boolean