SetMode

Sets the tessellation mode on a GPU.

Syntax

Copied!

ADLX_RESULT     SetMode (ADLX_TESSELLATION_MODE  mode)

Parameters

  1. [in] mode ADLX_TESSELLATION_MODE The new tessellation mode.

Return Value

If the tesssellation mode is successfully set, ADLX_OK is returned.

If the tessellation mode 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