Home > @visualization-tools/cartesian-2d > GlInterleaved2dPointBinder
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>
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).
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(bindingDescriptor, binderConfig) | Constructs a new instance of the GlInterleaved2dPointBinder class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| binderClassificationId | symbol | ||
| binderConfig | TGlInterleavedPointBinderConfig | ||
| bindingDescriptor | IInterleavedBindingDescriptor<IDrawablePoint2dOffsets> | ||
| bindings | IInterleavedPointGlBindings | ||
| linkId | symbol | ||
| pointsBound | number | ||
| specification | IGlProgramSpec |