Skip to content

Texture_set_levelofdetail

hugh greene edited this page Jun 20, 2022 · 1 revision

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

Clone this wiki locally