SetLevel

Sets the tessellation level on a GPU.

Syntax

Copied!

ADLX_RESULT     SetLevel (ADLX_TESSELLATION_LEVEL  level)

Parameters

  1. [in] level ADLX_TESSELLATION_LEVEL The new tessellation level.

Return Value

If the tessellation level is successfully set, ADLX_OK is returned.

If the tessellation level is not successfully set, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Additional Info

Tessellation adjusts the number of polygons used to render objects with enhanced detail, at the cost of some frame rate performance.

Requirements

Header

include “I3DSettings.h”

Minimum version

1.0