IsSupported
Checks if tessellation is supported on a GPU.
Syntax
ADLX_RESULT IsSupported (adlx_bool* supported)
Parameters
-
[out]
supported adlx_bool* The pointer to a variable where the state of tessellation is returned. The variable is true if tessellation is supported. The variable is false if tessellation is not supported.
Return Value
If the state of tessellation is successfully returned, ADLX_OK is returned.
If the state of tessellation 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 |