visualization-tools

Home > @visualization-tools/core > IGlAttribute > swapBuffer

IGlAttribute.swapBuffer() method

Transfer this attribute’s buffer to the argument and vice versa.

Signature:

swapBuffer(attribute: IGlAttribute<TArray>): void;

Parameters

Parameter Type Description
attribute IGlAttribute<TArray>  

Returns:

void