HC_PShow_Net_Shader
-
bool
HC_PShow_Net_Shader(int count, Key const keys[], char const *name, char *output, char *shader_source) - bool HC_PShow_Net_Shader(int count, Key const keys, char const name, char output, char shader_source)
Similar to Show_Shader_Definition(), but returns the net effective value along a discrete segment path.
By default, HOOPS will determine the Net attribute from the last specified key all the way to the root. If you add -1 at the end of the array, the PShow_Net routines will not proceed beyond the end of the last specified key.
Parameters
count: The size of keys
keys: An array of HC_KEY’s delineating a path of segments.
name: The name of the shader you want to see the details for.
output: A string containing a comma-separated list of the options associated with this shader. Passed by reference. Returned to user.
shader_source: the source associated with this shader. Passed by reference. Returned to user.