CLASSES
TagsA - Z

ModelRenderCache

Description

class ModelRenderCache

Constructor

new ModelRenderCache(engine, modelKey)

Parameters

Name Type Description
engine Engine
modelKey string

Members

isDisposed : boolean

modelKey : string

Methods

dispose() → boolean

addRef() → number

render(instanceInfo, context) → boolean

Render the model instances

@return must return true is the rendering succeed, false if the rendering couldn't be done (asset's not yet ready, like Effect)

Parameters

Name Type Description
instanceInfo GroupInstanceInfo
context Render2DContext