#include <sio2_window.h>

Public Attributes | |
| int | n_tap |
| The last number of tap on screen. | |
| int | n_touch |
| The current number of touch that are tracked by SIO2. | |
| SIO2touch * | _SIO2touch |
| For each touch an associated SIO2touch structure is created. | |
| vec2 | loc |
| The XY location of the viewport. | |
| vec2 | scl |
| The width and height of the viewport. | |
| vec3 | accel |
| The current value of the accelerometer. | |
| float | accel_smooth |
| The accelerometer smooth factor. | |
| int | mat_viewport [4] |
| The OpenGL viewport matrix. | |
| unsigned int | curr_time |
| The current time of the application. | |
| unsigned int | last_sync |
| The last time the SIO2window receive a sync. | |
| float | fra |
| The current frame number. | |
| float | fps |
| The last number of frame per second. | |
| float | d_time |
| The current delta time of the SIO2window. | |
| float | sync_time |
| The current sync time. | |
| float | volume |
| The ambient volume to use for OpenAL sound source. | |
| float | fx_volume |
| The sound fx volume to use with OpenAL sound source. | |
| SIO2windowrender * | _SIO2windowrender |
| The SIO2window render function callback. | |
| SIO2windowtouchbegan * | _SIO2windowtouchbegan |
| The SIO2window touch began function callback. | |
| SIO2windowtouchmoved * | _SIO2windowtouchmoved |
| The SIO2window touch moved function callback. | |
| SIO2windowtouchended * | _SIO2windowtouchended |
| The SIO2window touch end function callback. | |
| SIO2windowaccelerometer * | _SIO2windowaccelerometer |
| The SIO2window accelerometer function callback. | |
| SIO2windowshutdown * | _SIO2windowshutdown |
| The SIO2window shutdown function callback. | |
The last number of tap on screen.
The current number of touch that are tracked by SIO2.
Referenced by sio2WindowTouchBegan(), sio2WindowTouchEnded(), and sio2WindowTouchMoved().
For each touch an associated SIO2touch structure is created.
Referenced by sio2WindowFree(), sio2WindowTouchBegan(), sio2WindowTouchEnded(), and sio2WindowTouchMoved().
The width and height of the viewport.
Referenced by sio2WindowEnter2D(), sio2WindowEnterLandscape2D(), sio2WindowLeaveLandscape2D(), and sio2WindowUpdateViewport().
| float SIO2window::accel_smooth |
The accelerometer smooth factor.
Referenced by sio2WindowInit(), and sio2WindowSetAccelerometerSensitivity().
| int SIO2window::mat_viewport[4] |
The OpenGL viewport matrix.
Referenced by sio2WindowGetViewportMatrix(), and sio2WindowUpdateViewport().
| unsigned int SIO2window::curr_time |
The current time of the application.
Referenced by sio2TimerEvaluate(), sio2TimerPause(), sio2TimerPlay(), sio2WindowInit(), sio2WindowSwapBuffers(), sio2WindowTouchBegan(), sio2WindowTouchEnded(), and sio2WindowTouchMoved().
| unsigned int SIO2window::last_sync |
| float SIO2window::fra |
| float SIO2window::fps |
| float SIO2window::d_time |
The current delta time of the SIO2window.
Referenced by sio2EmitterRender(), sio2IpoCurveRender(), sio2ObjectRenderAction(), sio2VideoGetImage(), sio2VideoQueueBuffers(), and sio2WindowSwapBuffers().
| float SIO2window::sync_time |
| float SIO2window::volume |
The ambient volume to use for OpenAL sound source.
Referenced by sio2ResourceSetAmbientVolume(), and sio2WindowInit().
| float SIO2window::fx_volume |
The sound fx volume to use with OpenAL sound source.
Referenced by sio2ResourceSetFxVolume(), and sio2WindowInit().
| SIO2windowrender* SIO2window::_SIO2windowrender |
The SIO2window render function callback.
| SIO2windowtouchbegan* SIO2window::_SIO2windowtouchbegan |
| SIO2windowtouchmoved* SIO2window::_SIO2windowtouchmoved |
| SIO2windowtouchended* SIO2window::_SIO2windowtouchended |
| SIO2windowaccelerometer* SIO2window::_SIO2windowaccelerometer |
| SIO2windowshutdown* SIO2window::_SIO2windowshutdown |
1.5.6