本文整理了Java中com.jme3.system.AppSettings.setFrequency()
方法的一些代码示例,展示了AppSettings.setFrequency()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AppSettings.setFrequency()
方法的具体详情如下:
包路径:com.jme3.system.AppSettings
类名称:AppSettings
方法名:setFrequency
[英]Set the frequency, also known as refresh rate, for the rendering display.
[中]设置渲染显示的频率(也称为刷新率)。
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
source.setHeight(height);
source.setBitsPerPixel(depth);
source.setFrequency(freq);
source.setFullscreen(fullscreen);
source.setVSync(vsync);
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
settings.setHeight(useDM.getHeight());
settings.setBitsPerPixel(useDM.getBitDepth());
settings.setFrequency(useDM.getRefreshRate());
settings.setSwapBuffers(true);
settings.setVSync(true); // allow vsync on this display
settings.setFrequency(defDev.getDisplayMode().getRefreshRate());
settings.setDepthBits(24);
settings.setVSync(true);
settings.setBitsPerPixel(24);
settings.setFrameRate(0); // never sleep in main loop
settings.setFrequency(VRhardware.getDisplayFrequency());
settings.setFullscreen(false);
settings.setVSync(false); // stop vsyncing on primary monitor!
代码示例来源:origin: jMonkeyEngine/jmonkeyengine
settings.setHeight(useDM.getHeight());
settings.setBitsPerPixel(useDM.getBitDepth());
settings.setFrequency(useDM.getRefreshRate());
settings.setSwapBuffers(true);
settings.setVSync(true); // allow vsync on this display
if (macOs) {
settings.setFrequency(defDev.getDisplayMode().getRefreshRate());
settings.setDepthBits(24);
settings.setVSync(true);
settings.setBitsPerPixel(32);
settings.setFrameRate(0);
settings.setFrequency(environment.getVRHardware().getDisplayFrequency());
settings.setFullscreen(false);
settings.setVSync(false); // stop vsyncing on primary monitor!
代码示例来源:origin: info.projectkyoto/mms-engine
source.setHeight(height);
source.setBitsPerPixel(depth);
source.setFrequency(freq);
source.setFullscreen(fullscreen);
source.setVSync(vsync);
代码示例来源:origin: us.ihmc.thirdparty.jme/jme3-desktop
source.setHeight(height);
source.setBitsPerPixel(depth);
source.setFrequency(freq);
source.setFullscreen(fullscreen);
source.setVSync(vsync);
代码示例来源:origin: tonihele/OpenKeeper
settings.getAppSettings().setFrequency((Integer) refresh.getSelection());
settings.getAppSettings().setFullscreen(fullscreen.isChecked());
settings.getAppSettings().setVSync(vsync.isChecked());
内容来源于网络,如有侵权,请联系作者删除!