visualization-tools

Home > @visualization-tools/core > ICompositeGraphicsComponent

ICompositeGraphicsComponent interface

Refer to update strategy documentation for draw call behavior.

Signature:

export interface ICompositeGraphicsComponent<TComponentRenderer extends TUnknownComponentRenderer, TUpdateArg, TTraits> 

Remarks

Any duplicate graphics components (by instance) will be eliminated, regardless of how nested they are.

Properties

Property Type Description
groupUpdatesByEntity boolean Instead of batching entities into update groups based on the subcomponents, update entities in turn cycling through the subcomponents. With large shared buffers and few entities this can significantly improve performance.
subComponents IGraphicsSubComponents<TComponentRenderer, TUpdateArg, TTraits>  
type EGraphicsComponentType.Composite  

Methods

Method Description
recurseIterate(callback)  
recurseIterate(filter, callback)  
recurseIterate(filter, callback)