com.jme3.renderer.Renderer.initialize()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(161)

本文整理了Java中com.jme3.renderer.Renderer.initialize方法的一些代码示例,展示了Renderer.initialize的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Renderer.initialize方法的具体详情如下:
包路径:com.jme3.renderer.Renderer
类名称:Renderer
方法名:initialize

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());

相关文章