Home > @visualization-tools/core > AGlAttribute
Wrapper for dirty checked GL attributes with VAO and shared mutable buffer support. ChangeIds must be generated program wide to avoid collisions IncrementingIdentifierFactory (rc-js-util) is a suitable implementation.
Signature:
export declare abstract class AGlAttribute<TArray extends TTypedArray> implements IGlAttribute<TArray>
Implements: IGlAttribute<TArray>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(name, buffer, componentsPerVertex, byteOffset, byteStride, normalized) | DO NOT MANUALLY SHARE BUFFERS, **USE LINK**! |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| componentsPerVertex | number | ||
| name | string |