Tabnine Logo
LwjglNativesLoader
Code IndexAdd Tabnine to your IDE (free)

How to use
LwjglNativesLoader
in
com.badlogic.gdx.backends.lwjgl

Best Java code snippets using com.badlogic.gdx.backends.lwjgl.LwjglNativesLoader (Showing top 13 results out of 315)

origin: libgdx/libgdx

public LwjglApplication (ApplicationListener listener, LwjglApplicationConfiguration config, LwjglGraphics graphics) {
  LwjglNativesLoader.load();
  setApplicationLogger(new LwjglApplicationLogger());
  if (config.title == null) config.title = listener.getClass().getSimpleName();
  this.graphics = graphics;
  if (!LwjglApplicationConfiguration.disableAudio) {
    try {
      audio = new OpenALAudio(config.audioDeviceSimultaneousSources, config.audioDeviceBufferCount,
        config.audioDeviceBufferSize);
    } catch (Throwable t) {
      log("LwjglApplication", "Couldn't initialize audio, disabling audio", t);
      LwjglApplicationConfiguration.disableAudio = true;
    }
  }
  files = new LwjglFiles();
  input = new LwjglInput();
  net = new LwjglNet(config);
  this.listener = listener;
  this.preferencesdir = config.preferencesDirectory;
  this.preferencesFileType = config.preferencesFileType;
  Gdx.app = this;
  Gdx.graphics = graphics;
  Gdx.audio = audio;
  Gdx.files = files;
  Gdx.input = input;
  Gdx.net = net;
  initialize();
}
origin: libgdx/libgdx

public LwjglApplication (ApplicationListener listener, LwjglApplicationConfiguration config, LwjglGraphics graphics) {
  LwjglNativesLoader.load();
  setApplicationLogger(new LwjglApplicationLogger());
  if (config.title == null) config.title = listener.getClass().getSimpleName();
  this.graphics = graphics;
  if (!LwjglApplicationConfiguration.disableAudio) {
    try {
      audio = new OpenALAudio(config.audioDeviceSimultaneousSources, config.audioDeviceBufferCount,
        config.audioDeviceBufferSize);
    } catch (Throwable t) {
      log("LwjglApplication", "Couldn't initialize audio, disabling audio", t);
      LwjglApplicationConfiguration.disableAudio = true;
    }
  }
  files = new LwjglFiles();
  input = new LwjglInput();
  net = new LwjglNet(config);
  this.listener = listener;
  this.preferencesdir = config.preferencesDirectory;
  this.preferencesFileType = config.preferencesFileType;
  Gdx.app = this;
  Gdx.graphics = graphics;
  Gdx.audio = audio;
  Gdx.files = files;
  Gdx.input = input;
  Gdx.net = net;
  initialize();
}
origin: libgdx/libgdx

LwjglNativesLoader.load();
origin: libgdx/libgdx

LwjglNativesLoader.load();
origin: libgdx/libgdx

if (config == null) config = new LwjglApplicationConfiguration();
LwjglNativesLoader.load();
setApplicationLogger(new LwjglApplicationLogger());
instanceCount++;
origin: libgdx/libgdx

if (config == null) config = new LwjglApplicationConfiguration();
LwjglNativesLoader.load();
setApplicationLogger(new LwjglApplicationLogger());
instanceCount++;
origin: libgdx/libgdx

private void initialize (ApplicationListener listener, LwjglApplicationConfiguration config) {
  LwjglNativesLoader.load();
  setApplicationLogger(new LwjglApplicationLogger());
  canvas = new Canvas() {
origin: libgdx/libgdx

private void initialize (ApplicationListener listener, LwjglApplicationConfiguration config) {
  LwjglNativesLoader.load();
  setApplicationLogger(new LwjglApplicationLogger());
  canvas = new Canvas() {
origin: org.mini2Dx/mini2Dx-desktop

public DesktopMini2DxGame(GameContainer game, DesktopMini2DxConfig config, LwjglGraphics graphics) {
  LwjglNativesLoader.load();
  setApplicationLogger(new LwjglApplicationLogger());
  
  this.config = config;
  listener = new DesktopGameWrapper(game, config.gameIdentifier);
  if (config.title == null) {
    config.title = game.getClass().getSimpleName();
  }
  this.graphics = graphics;
  this.files = new LwjglFiles();
  this.input = new LwjglInput();
  this.net = new LwjglNet();
  initialiseLibGDX();
  launchGame();
}
origin: com.badlogicgames.gdx/gdx-backend-lwjgl

public LwjglApplication (ApplicationListener listener, LwjglApplicationConfiguration config, LwjglGraphics graphics) {
  LwjglNativesLoader.load();
  setApplicationLogger(new LwjglApplicationLogger());
  if (config.title == null) config.title = listener.getClass().getSimpleName();
  this.graphics = graphics;
  if (!LwjglApplicationConfiguration.disableAudio) {
    try {
      audio = new OpenALAudio(config.audioDeviceSimultaneousSources, config.audioDeviceBufferCount,
        config.audioDeviceBufferSize);
    } catch (Throwable t) {
      log("LwjglApplication", "Couldn't initialize audio, disabling audio", t);
      LwjglApplicationConfiguration.disableAudio = true;
    }
  }
  files = new LwjglFiles();
  input = new LwjglInput();
  net = new LwjglNet();
  this.listener = listener;
  this.preferencesdir = config.preferencesDirectory;
  this.preferencesFileType = config.preferencesFileType;
  Gdx.app = this;
  Gdx.graphics = graphics;
  Gdx.audio = audio;
  Gdx.files = files;
  Gdx.input = input;
  Gdx.net = net;
  initialize();
}
origin: com.badlogicgames.gdx/gdx-tools

LwjglNativesLoader.load();
origin: com.badlogicgames.gdx/gdx-backend-lwjgl

if (config == null) config = new LwjglApplicationConfiguration();
LwjglNativesLoader.load();
setApplicationLogger(new LwjglApplicationLogger());
instanceCount++;
origin: com.badlogicgames.gdx/gdx-backend-lwjgl

private void initialize (ApplicationListener listener, LwjglApplicationConfiguration config) {
  LwjglNativesLoader.load();
  setApplicationLogger(new LwjglApplicationLogger());
  canvas = new Canvas() {
com.badlogic.gdx.backends.lwjglLwjglNativesLoader

Most used methods

  • load
    Extracts the LWJGL native libraries from the classpath and sets the "org.lwjgl.librarypath" system p

Popular in Java

  • Running tasks concurrently on multiple threads
  • compareTo (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • setRequestProperty (URLConnection)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • String (java.lang)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now