HC_Define_Local_Texture

void HC_Define_Local_Texture(char const *texture_name, char const *definition)
void HC_Define_Local_Texture(char const texture_name, char const definition)

Define a texture on the currently open segment.

This function allows you to define a texture on a specific segment and which will then be inherited like any other attribute. Consequently the only geometry which will be able to use that texture definition is geometry that is either in that segment or contained in one of its child segments. Refer to Define_Texture() for all the possible options.

Local textures differ from regular textures in that they are resolved at draw time. This can mean that users will be surprised that HOOPS warnings regarding textures may appear at a different stage during the update process.

HC_Define_Texture

Parameters

texture_name: The name this texture definition will be assigned to.

definition: A quoted string or a string variable containing a list of desired options for this specific texture.