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.

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.

See also


Log in to edit this page