Home > @visualization-tools/core > AttributeState
Sharable state of a webgl attribute.
Signature:
export declare class AttributeState<TArray extends TTypedArray> implements IAttributeState<TArray>
Implements: IAttributeState<TArray>
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(attribute, buffer) | Constructs a new instance of the AttributeState class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| attributes | IGlAttribute<TArray>[] | ||
| buffer | IGlBuffer<TArray> |
| Method | Modifiers | Description |
|---|---|---|
| addAttribute(attribute) |