Functions
Define_Local_Texture

Functions

void Define_Local_Texture (const char *texture_name, const char *definition)
 Define a texture on the currently open segment. More...
 

Detailed Description

Function Documentation

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

Define a texture on the currently open segment.

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.
Supported Options:
caching, decal, down sampling, layout, modulate, parameter offset, parameterization source, transform, tiling, source, interpolation filter, decimation filter, red channel mapping, green channel mapping, blue channel mapping, alpha channel mapping, value scale,

DETAILS

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.

NOTES

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.

RESTRICTIONS

See also
Define_Texture