Vizard 8 » Command Index » Vizard objects » texture » <texture>.hint
8.0

<texture>.hint

Apply rendering hints to the texture

<texture>.hint(  
flag  
)  
flag
A combination of the following values:

Hint flags

viz.COMPRESS_TEXTURE_HINT

Use texture compression.

viz.FREE_TEXTURE_MEMORY_HINT

Free local texture memory that has been uploaded to the graphics card.

viz.ALLOW_NPOT_TEXTURE_HINT

Allow non-power-of-two textures, if supported by the graphics card.

viz.PRELOAD_HINT

Preload texture object to the graphics card.

viz.TEXTURE_MODIFIED_HINT

Notfies Vizard that the texture data has been externally modified, and should be uploaded to the graphics card during the next render cycle.

Remarks

Notes:

- When a texture is manually added within a script, Vizard will apply the hint specified with the 'viz.texture.hint' option.

Return Value

None