Texture_set_levelofdetail - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Sets the level-of-detail of the given texture.

Parameters

Parameter Data Type Description
texid integer index of the texture
minlod double minimum level-of-detail, default value is -1000
maxlod double maximum level-of-detail, default value is 1000
maxlevel integer index of the highest defined mipmap level, default value is 1000

Return Values

void: This function does not return anything.

Example Call

// demonstrates setting the default level-of-detail for a texture
texture_set_levelofdetail(tex, -1000, 1000, 1000);

NOTOC