Celestia/Celx Scripting/CELX Lua Methods/CEL command settextureresolution

settextureresolution
settextureresolution { resolution   } 

Set the texture resolution.

CELX equivalent:

Based on the celestia:settextureresolution method.


 * Set the resolution to .
 * If  is "low",  is 0
 * If  is "medium",  is 1
 * If  is "high",  is 2

celestia:settextureresolution()

Example: The non commented line determines the texture resolution.

CEL:

settextureresolution { resolution "high" }
 * 1) settextureresolution { resolution "low" }
 * 2) settextureresolution { resolution "medium" }

CELX:

-- celestia:settextureresolution(0) -- celestia:settextureresolution(1) celestia:settextureresolution(2)

Back to CEL command index