Ogrekit-Android的常用native方法
【摘要】
/** * Declaration for function defined in nv_time/nv_time.cpp It initializes * and returns time through Nvidia's egl extension for time. It is useful * while debugging t...
-
/**
-
* Declaration for function defined in nv_time/nv_time.cpp It initializes
-
* and returns time through Nvidia's egl extension for time. It is useful
-
* while debugging the demo using PerfHUD.
-
* * @see: nv_time/nv_time.cpp for implementation details.
-
*/
-
-
public native void nvAcquireTimeExtension();
-
-
public native long nvGetSystemTime();
-
-
public native boolean render(int drawWidth, int drawHeight,boolean forceRedraw);
-
-
public native void cleanup();
-
-
public native boolean init(String initArg);
-
-
public native boolean inputEvent(int action, float x, float y, MotionEvent event);
-
-
public native boolean keyEvent(int action, int unicodeChar, int keyCode, KeyEvent event);
-
-
public native void setOffsets(int x, int y);
-
-
// needs to be implemented yet and called at onPause()-Event
-
public native void pauseSound();
-
-
// needs to be implemented yet and called at onResume()-Event
-
public native void restartSound();
-
-
public native void sendSensor(int sensorType, float x, float y, float z);
-
-
public native void sendMessage(String from, String to, String topic, String body);
文章来源: panda1234lee.blog.csdn.net,作者:panda1234lee,版权归原作者所有,如需转载,请联系作者。
原文链接:panda1234lee.blog.csdn.net/article/details/8261937
【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)