visualization-tools

Home > @visualization-tools/core > IGlRendererSharedState

IGlRendererSharedState interface

Webgl state that is shred between entity renderers.

Signature:

export interface IGlRendererSharedState extends IRendererSharedState 

Extends: IRendererSharedState

Properties

Property Type Description
entityBuffers IEntityBufferStore<IBufferLayout<IGlBuffer<TTypedArray>>>  
maxTextureCount number  

Methods

Method Description
bindVao(vao) Usages outside of component renderer must ensure that the extension is loaded before calling (if GL1).
claimTextureUnit()  
clearScissor()  
isProgramActive(program)  
setContext(context)  
useProgram(program)