visualization-tools

Home > @visualization-tools/core > AGlUniformValue

AGlUniformValue class

wrapper for a single uniform value.

Signature:

export declare abstract class AGlUniformValue implements IGlUniform 

Implements: IGlUniform

Constructors

Constructor Modifiers Description
(constructor)(name, data)   Constructs a new instance of the AGlUniformValue class

Properties

Property Modifiers Type Description
data   number  
isDirty   boolean  
name   string  
uniformLocation   WebGLUniformLocation | null  

Methods

Method Modifiers Description
bind(renderer)    
initialize(componentRenderer)    
onContextLost()    
setData(data)