GetMode

Gets the current tessellation mode on a GPU.

Syntax

Copied!

ADLX_RESULT     GetMode (ADLX_TESSELLATION_MODE * currentMode)

Parameters

  1. [out] currentMode ADLX_TESSELLATION_MODE * The pointer to a variable where the current tessellation mode is returned.

Return Value

If the current tessellation mode is successfully returned, ADLX_OK is returned.

If the current tessellation mode is not successfully returned, 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