Home > @visualization-tools/core > ICompositeGraphicsComponent
Refer to update strategy documentation for draw call behavior.
Signature:
export interface ICompositeGraphicsComponent<TComponentRenderer extends TUnknownComponentRenderer, TUpdateArg, TTraits>
Any duplicate graphics components (by instance) will be eliminated, regardless of how nested they are.
| 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 |
| Method | Description |
|---|---|
| recurseIterate(callback) | |
| recurseIterate(filter, callback) | |
| recurseIterate(filter, callback) |