cocos3d
2.0.0
|
#import <CC3GLSLVariable.h>
Instances of this class are held in the CC3ShaderContext to allow the value of a uniform to be set directly by the application, on a node-by-node basis, to override the value retrieved automatically from the scene via the semantic context of the uniform variable.
An instance of this class does not set the state of the GL engine directly. Instead, it sets the value of the actual uniform within the program that it overrides.