org.rajawali3d.materials.shaders / AShaderBase / ShaderVar

ShaderVar

protected open class ShaderVar
protected open class ShaderVar

A ShaderVar is a wrapper class for a GLSL variable. It is used to write shaders in the Java programming language. Shaders are text files that are compiled at runtime. The AShader class uses ShaderVars to write a text file under the hood. The reason for this is maintainability and shader code reuse.

Author
dennis.ippel