appendixA.html, appendixF.html, index.html, section01.html, section02.html, section03.html, section04.html, section05.html, section06.html, section07.html, section08.html, section09.html, section10.html, section11.html, section12.html, section13.html, section14.html, section15.html, section16.html


3 - Relationship To The RenderMan Shading Language


	RtToken
	RiDeclare( name, declaration )
	char	*name;
	char	*declaration;
    

"null" is not valid as a declaration. "uniform int" is used instead, necessitating a placeholding value when the token is used in a parameter list.

RenderDrive allows tokens to be declared with storage modifier "vertex", and declares RI_P, RI_PW and RI_PZ thus.

Inline declarations are not permitted.

As a special case RenderDrive allows the implicit "u" and "v" of a geometric primitive to be overriden for shading purposes. "u" and "v" are not available as prefedined tokens however, and must be explicitly declared "varying float" prior to use.

Last modified: Mon Jul 14 21:01:06 2003