TwGraphAPI (enum)
DescriptionThese constants are used by TwInit to specify which graphic API is used. ConstantsTW_OPENGLTell AntTweakBar to use OpenGL. TW_DIRECT3D9Tell AntTweakBar to use Direct3D 9. In this case, the D3D9 device pointer must also be supplied to TwInit. TW_DIRECT3D10Tell AntTweakBar to use Direct3D 10. In this case, the D3D10 device pointer must also be supplied to TwInit. See also |