本文整理了Java中org.lwjgl.glfw.GLFWCursorPosCallback.close()
方法的一些代码示例,展示了GLFWCursorPosCallback.close()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。GLFWCursorPosCallback.close()
方法的具体详情如下:
包路径:org.lwjgl.glfw.GLFWCursorPosCallback
类名称:GLFWCursorPosCallback
方法名:close
暂无
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
@Override
public void destroy() {
if (!context.isRenderable()) {
return;
}
cursorPosCallback.close();
scrollCallback.close();
mouseButtonCallback.close();
currentCursor = null;
currentCursorDelays = null;
for (long[] glfwCursors : jmeToGlfwCursorMap.values()) {
for (long glfwCursor : glfwCursors) {
glfwDestroyCursor(glfwCursor);
}
}
jmeToGlfwCursorMap.clear();
logger.fine("Mouse destroyed.");
}
代码示例来源:origin: org.jmonkeyengine/jme3-lwjgl3
@Override
public void close() {
super.close();
}
代码示例来源:origin: org.jmonkeyengine/jme3-lwjgl3
@Override
public void destroy() {
if (!context.isRenderable()) {
return;
}
cursorPosCallback.close();
scrollCallback.close();
mouseButtonCallback.close();
currentCursor = null;
currentCursorDelays = null;
for (long[] glfwCursors : jmeToGlfwCursorMap.values()) {
for (long glfwCursor : glfwCursors) {
glfwDestroyCursor(glfwCursor);
}
}
jmeToGlfwCursorMap.clear();
logger.fine("Mouse destroyed.");
}
代码示例来源:origin: playn/playn
void shutdown() {
charCallback.close();
keyCallback.close();
mouseBtnCallback.close();
cursorPosCallback.close();
scrollCallback.close();
}
内容来源于网络,如有侵权,请联系作者删除!