TwInit (function)
DescriptionThis function initializes the AntTweakBar library. It must be called once at the begining of the program, just after graphic mode is initialized. Notes:
ParametersgraphAPIThis parameter specifies which graphic API is used: OpenGL, Direct3D 9 or Direct3D 10. It is one of the TwGraphAPI enum element. If graphAPI is Direct3D, the D3D device pointer must be supplied. device
Pointer to the Direct3D device, or
If graphAPI is OpenGL, this parameter must be Return values
See also |