A Shader generated from a FragmentProgram.
Instances of this class can be obtained from the FragmentProgram.fragmentShader method. The float uniforms list is initialized to the size expected by the shader and is zero-filled. Uniforms of float type can then be set by calling setFloat. Sampler uniforms are set by calling setImageSampler.
A FragmentShader can be re-used, and this is an efficient way to avoid allocating and re-initializing the uniform buffer and samplers. However, if two FragmentShader objects with different float uniforms or samplers are required to exist simultaneously, they must be obtained from two different calls to FragmentProgram.fragmentShader.
Propertiesno setterinherited
no setterinherited
no setterinherited
override
inherited
index
to value
.
index
to image
.
inherited
inherited
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4