本文整理了Java中com.jme3.renderer.Renderer.initialize
方法的一些代码示例,展示了Renderer.initialize
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Renderer.initialize
方法的具体详情如下:
包路径:com.jme3.renderer.Renderer
类名称:Renderer
方法名:initialize
[英]Detects available capabilities of the GPU. Must be called prior to any other Renderer methods.
[中]检测GPU的可用功能。必须在调用任何其他渲染器方法之前调用。
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
public void init(GLAutoDrawable drawable){
// prevent initializing twice on restart
if (!wasInited){
wasInited = true;
canvas.requestFocus();
super.internalCreate();
logger.fine("Display created.");
renderer.initialize();
listener.initialize();
}
}
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
public void init(GLAutoDrawable drawable){
// prevent initializing twice on restart
if (!wasInited){
wasInited = true;
canvas.requestFocus();
super.internalCreate();
logger.fine("Display created.");
renderer.initialize();
listener.initialize();
}
}
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
renderer.initialize();
} else {
throw new UnsupportedOperationException("Unsupported renderer: " + settings.getRenderer());
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
this.renderer.initialize();
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
renderer.initialize();
} else {
throw new UnsupportedOperationException("Unsupported renderer: " + settings.getRenderer());
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
renderer.initialize();
} else {
throw new UnsupportedOperationException("Unsupported renderer: " + settings.getRenderer());
代码示例来源:origin: org.jmonkeyengine/jme3-jogl
public void init(GLAutoDrawable drawable){
// prevent initializing twice on restart
if (!wasInited){
wasInited = true;
canvas.requestFocus();
super.internalCreate();
logger.fine("Display created.");
renderer.initialize();
listener.initialize();
}
}
代码示例来源:origin: org.jmonkeyengine/jme3-jogl
public void init(GLAutoDrawable drawable){
// prevent initializing twice on restart
if (!wasInited){
wasInited = true;
canvas.requestFocus();
super.internalCreate();
logger.fine("Display created.");
renderer.initialize();
listener.initialize();
}
}
代码示例来源:origin: org.jmonkeyengine/jme3-lwjgl3
this.renderer.initialize();
} else {
throw new UnsupportedOperationException("Unsupported renderer: " + renderer);
代码示例来源:origin: us.ihmc.thirdparty.jme/jme3-lwjgl
renderer.initialize();
} else {
throw new UnsupportedOperationException("Unsupported renderer: " + settings.getRenderer());
代码示例来源:origin: org.jmonkeyengine/jme3-jogl
renderer.initialize();
} else {
throw new UnsupportedOperationException("Unsupported renderer: " + settings.getRenderer());
内容来源于网络,如有侵权,请联系作者删除!