visualization-tools

Home > @visualization-tools/core > AttributeState

AttributeState class

Sharable state of a webgl attribute.

Signature:

export declare class AttributeState<TArray extends TTypedArray> implements IAttributeState<TArray> 

Implements: IAttributeState<TArray>

Constructors

Constructor Modifiers Description
(constructor)(attribute, buffer)   Constructs a new instance of the AttributeState class

Properties

Property Modifiers Type Description
attributes   IGlAttribute<TArray>[]  
buffer   IGlBuffer<TArray>  

Methods

Method Modifiers Description
addAttribute(attribute)