Contents
TwGraphAPI (enum)
DescriptionThese constants are used by TwInit to specify which graphic API is used. ConstantsTW_OPENGLTell AntTweakBar to use OpenGL (compatibility profile). TW_OPENGL_CORETell AntTweakBar to use OpenGL core profile (OpenGL 3.2 and higher). 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. TW_DIRECT3D11Tell AntTweakBar to use Direct3D 11. In this case, the D3D11 device pointer must also be supplied to TwInit. See also |