visualization-tools

Home > @visualization-tools/core > GlTexture2d > (constructor)

GlTexture2d.(constructor)

Constructs a new instance of the GlTexture2d class

Signature:

constructor(name: string, data: TexImageSource | null);

Parameters

Parameter Type Description
name string  
data TexImageSource | null