visualization-tools

Home > @visualization-tools/cartesian-2d > GlInterleaved2dPointBinder

GlInterleaved2dPointBinder class

Provides bindings for an interleaved buffer that described points in 2d.

Signature:

export declare class GlInterleaved2dPointBinder extends AGlInstancedBinder<TGl2ComponentRenderer, TInterleavedPoint2dTrait<Float32Array>, TGlF32BufferLayout> implements IGlIndexedPoint2dBinder<Float32Array> 

Extends: AGlInstancedBinder<TGl2ComponentRenderer, TInterleavedPoint2dTrait<Float32Array>, TGlF32BufferLayout>

Implements: IGlIndexedPoint2dBinder<Float32Array>

Remarks

These may optionally have per point color and size. Where either size or color is not described by the buffer, local config will be supplied in instead. The type of buffer may not be changed after creation (e.g. adding size).

Constructors

Constructor Modifiers Description
(constructor)(bindingDescriptor, binderConfig)   Constructs a new instance of the GlInterleaved2dPointBinder class

Properties

Property Modifiers Type Description
binderClassificationId   symbol  
binderConfig   TGlInterleavedPointBinderConfig  
bindingDescriptor   IInterleavedBindingDescriptor<IDrawablePoint2dOffsets>  
bindings   IInterleavedPointGlBindings  
linkId   symbol  
pointsBound   number  
specification   IGlProgramSpec  

Methods

Method Modifiers Description
areAttributesDirty(entity)    
bindAttributes(componentRenderer)    
bindInstanced(componentRenderer, divisor, usage)    
bindUniforms(componentRenderer)    
getBinderId()    
getBufferLayout()    
getChangeId(entity)    
getTransformBinder()    
initialize(componentRenderer)    
link(binders)    
overrideColors(componentRenderer, entity, changeId)    
setBufferLayout(bufferLayout)    
setPointers(startIndex, blockByteSize)    
updateData(entity)    
updatePointers(entity)