This first requires that the type of the variable be declared. Shader variables can also be set in geometric primitives. If a geometric primitive sets a shader variable that is defined in none of the shaders associated with that primitive, it is ignored. Uniform variables that are set on geometric primitives override the values set by the shader instance. Functions Functions are similar to shaders except they can not be instanced from the RenderMan Interface.
Function calls use the traditional C syntax.
All rights reserved.