Contents

TwGraphAPI (enum)

enum TwGraphAPI

Description

These constants are used by TwInit to specify which graphic API is used.

Constants

TW_OPENGL

Tell AntTweakBar to use OpenGL (compatibility profile).

TW_OPENGL_CORE

Tell AntTweakBar to use OpenGL core profile (OpenGL 3.2 and higher).

TW_DIRECT3D9

Tell AntTweakBar to use Direct3D 9. In this case, the D3D9 device pointer must also be supplied to TwInit.

TW_DIRECT3D10

Tell AntTweakBar to use Direct3D 10. In this case, the D3D10 device pointer must also be supplied to TwInit.

TW_DIRECT3D11

Tell AntTweakBar to use Direct3D 11. In this case, the D3D11 device pointer must also be supplied to TwInit.

See also

TwInit