You copied the Doc URL to your clipboard.

4.4.4. Shader Uniforms

The Shader Uniforms view presents a list of all uniforms in the current shader effect. This list is generated from the data in the shader effect.

For more information about using the Shader Uniforms view, see Rendering the shader effect.

Table 4.8 describes the shader uniforms that are displayed in the Shader Uniforms view:

Table 4.8. Toolbar control buttons
ButtonDescription
LocThe location of the uniform in the shader, as assigned by the renderer.
NameThe name of the uniform as it appears in the shader source file.
TypeThe OpenGL ES Type of the uniform.
Initial Value

The value of the uniform for the first frame.

For animation, this is the initial value the uniform values are interpolated from.

For a single frame shader effect, this sets the value of the uniform for that frame.

Clicking on this cell presents an editor appropriate to the type of the attribute.

Final Value

The value of the uniform for the last frame.

For animation, this is the final value the uniform values are interpolated to.

For a single frame shader effect, this has no effect.

Clicking on this cell presents an editor appropriate to the type of the attribute.


Was this page helpful? Yes No