The "vngen_set_renderlevel" Function

Syntax

vngen_set_renderlevel(level);
ArgumentTypeDescription
levelintegersets the global renderlevel (default 0)

Description

VNgen uses multiple levels of rendering to accommodate the capabilities of different platforms. While VNgen will automatically apply the best renderlevel for most devices, in some cases you may wish to set renderlevel manually for better performance or compatibility.

VNgen currently supports three different renderlevels to choose from:

  • 0, or full rendering (default)
  • 1, or reduced rendering
  • 2, or legacy rendering

Reduced rendering will prioritize compatibility while maintaining mostly the same features as full rendering, while legacy rendering is aimed at low-end devices and HTML5 which do not properly support some advanced effects or require additional performance. Note, however, that legacy rendering is not faster in all cases.

Example

vngen_set_renderlevel(2);