Functions | |
void | Show_Texture (const char *texture, char *definition) |
void | PShow_Net_Texture (int count, const HC_KEY *keys, const char *txr, char *output, HC_KEY *out_image) |
void | PShow_One_Net_Texture (int count, const HC_KEY *keys, const char *txr, const char *opt, char *output) |
void Show_Texture | ( | const char * | texture, | |
char * | definition | |||
) |
Shows the definition of a texture.
texture | - Any previously defined texture. Passed by reference always. | |
definition | - The definition of texture. Returned to user. Passed by reference always. |
void PShow_Net_Texture | ( | int | count, | |
const HC_KEY * | keys, | |||
const char * | txr, | |||
char * | output, | |||
HC_KEY * | out_image | |||
) |
Returns the net effective texture definition and image instead of the local one.
keycount | - The size of keys | |
path | - Array of HC_KEY's delineating a particular path through a segment tree. | |
txr | - Any previously defined texture. Passed by reference always. | |
output | - The definition of texture. Returned to user. Passed by reference always. | |
out_image | - The key the image associated with the specificed texture. Returned to user. Passed by reference always. |
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.
void PShow_One_Net_Texture | ( | int | count, | |
const HC_KEY * | keys, | |||
const char * | txr, | |||
const char * | opt, | |||
char * | output | |||
) |
Similar to Show_One_Net_Texture(), but calculates the net effective value of a specific setting on the requested texture definition along a discrete segment path..
count | - The size of keys | |
keys | - Array of HC_KEY's delineating a particular path through a segment tree. | |
texture | - Any previously defined texture. Passed by reference always. | |
option | - The setting on the texture you want to query. | |
output | - The value of that setting. Returned to user. Passed by reference always. |
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.