visualization-tools

Home > @visualization-tools/core > IRenderer

IRenderer interface

Base wrapper for the underlying drawing technology, use to get specific drawing programs. Implementations provide hooks (IRendererCallbacks) on plot draw.

Signature:

export interface IRenderer<TComponentRenderer extends TUnknownComponentRenderer> 

Properties

Property Type Description
componentRendererFactory IComponentRendererFactory<TExtractGcSpec<TComponentRenderer>, TComponentRenderer>  
componentRendererProvider IComponentRendererProvider<TComponentRenderer>  
context TExtractGcContext<TComponentRenderer>  
graphicsComponents IGraphicsComponentStore<TComponentRenderer>  
sharedState IRendererSharedState  
transformComponents ITransformComponentStore<TUnknownComponentRenderer>  

Methods

Method Description
destroyBuffers(buffers)  
initializeBuffers(buffers)  
onAfterPlotDraw()  
onBeforePlotDraw(plot, canvasDims)  
onContextLost()  
onContextRegained(context)