org.xith3d.render
Class Canvas3DFactory

java.lang.Object
  extended by org.xith3d.render.Canvas3DFactory

public final class Canvas3DFactory
extends java.lang.Object

A Canvas3DFactory is capable of creating Canvas3D instance.


Method Summary
static Canvas3D create(CanvasConstructionInfo canvasInfo)
          Creates a new Canvas3D.
static Canvas3D create(CanvasConstructionInfo canvasInfo, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(CanvasConstructionInfo canvasInfo, java.lang.String windowTitle)
          Creates a new Canvas3D.
static Canvas3D create(int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, boolean vsync, FSAA fsaa, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, boolean vsync, FSAA fsaa, java.lang.String title)
          Creates a new Canvas3D.
static Canvas3D create(int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, boolean vsync, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, boolean vsync, java.lang.String title)
          Creates a new Canvas3D.
static Canvas3D create(int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, FSAA fsaa, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, FSAA fsaa, java.lang.String title)
          Creates a new Canvas3D.
static Canvas3D create(int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, java.lang.String title)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, DisplayMode dspMode, DisplayMode.FullscreenMode fullscreen, boolean vsync, FSAA fsaa, int depthbufferSize, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, DisplayMode dspMode, DisplayMode.FullscreenMode fullscreen, boolean vsync, FSAA fsaa, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, DisplayMode dspMode, DisplayMode.FullscreenMode fullscreen, boolean vsync, FSAA fsaa, java.lang.String title)
          Creates a new Canvas3D.
 Canvas3D create(OpenGLLayer layer, DisplayMode dspMode, DisplayMode.FullscreenMode fullscreen, boolean vsync, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, DisplayMode dspMode, DisplayMode.FullscreenMode fullscreen, boolean vsync, java.lang.String title)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, DisplayMode dspMode, DisplayMode.FullscreenMode fullscreen, FSAA fsaa, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, DisplayMode dspMode, DisplayMode.FullscreenMode fullscreen, FSAA fsaa, java.lang.String title)
          Creates a new Canvas3D.
 Canvas3D create(OpenGLLayer layer, DisplayMode dspMode, DisplayMode.FullscreenMode fullscreen, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, DisplayMode dspMode, DisplayMode.FullscreenMode fullscreen, java.lang.String title)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, DisplayMode.FullscreenMode fullscreen, boolean vsync, FSAA fsaa, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, DisplayMode.FullscreenMode fullscreen, boolean vsync, FSAA fsaa, java.lang.String title)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, DisplayMode.FullscreenMode fullscreen, boolean vsync, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, DisplayMode.FullscreenMode fullscreen, boolean vsync, java.lang.String title)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, DisplayMode.FullscreenMode fullscreen, FSAA fsaa, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, DisplayMode.FullscreenMode fullscreen, FSAA fsaa, java.lang.String title)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, DisplayMode.FullscreenMode fullscreen, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, DisplayMode.FullscreenMode fullscreen, java.lang.String title)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, boolean vsync, FSAA fsaa, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, boolean vsync, FSAA fsaa, java.lang.String title)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, boolean vsync, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, boolean vsync, java.lang.String title)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, FSAA fsaa, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, FSAA fsaa, java.lang.String title)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, java.lang.Object owner)
          Creates a new Canvas3D.
static Canvas3D create(OpenGLLayer layer, int width, int height, int bpp, DisplayMode.FullscreenMode fullscreen, java.lang.String title)
          Creates a new Canvas3D.
static Canvas3D createFullscreen()
          Creates a new FULLSCREEN Canvas3D with desktop resolution.
static Canvas3D createFullscreen(boolean vsync)
          Creates a new FULLSCREEN Canvas3D with desktop resolution.
static Canvas3D createFullscreen(boolean vsync, FSAA fsaa)
          Creates a new FULLSCREEN Canvas3D with desktop resolution.
static Canvas3D createFullscreen(DisplayMode dspMode)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(DisplayMode dspMode, boolean vsync)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(DisplayMode dspMode, boolean vsync, FSAA fsaa)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(DisplayMode dspMode, FSAA fsaa)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(FSAA fsaa)
          Creates a new FULLSCREEN Canvas3D with desktop resolution.
static Canvas3D createFullscreen(int width, int height)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(int width, int height, boolean vsync)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(int width, int height, boolean vsync, FSAA fsaa)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(int width, int height, FSAA fsaa)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(OpenGLLayer layer, DisplayMode dspMode)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(OpenGLLayer layer, DisplayMode dspMode, boolean vsync)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(OpenGLLayer layer, DisplayMode dspMode, boolean vsync, FSAA fsaa)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(OpenGLLayer layer, DisplayMode dspMode, FSAA fsaa)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(OpenGLLayer layer, int width, int height)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(OpenGLLayer layer, int width, int height, boolean vsync)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(OpenGLLayer layer, int width, int height, boolean vsync, FSAA fsaa)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(OpenGLLayer layer, int width, int height, FSAA fsaa)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(OpenGLLayer layer, int width, int height, int bpp)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(OpenGLLayer layer, int width, int height, int bpp, boolean vsync)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(OpenGLLayer layer, int width, int height, int bpp, boolean vsync, FSAA fsaa)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createFullscreen(OpenGLLayer layer, int width, int height, int bpp, FSAA fsaa)
          Creates a new FULLSCREEN Canvas3D.
static Canvas3D createWindowed(boolean vsync, FSAA fsaa, java.lang.String title)
          Creates a new WINDOWED Canvas3D with desktop resolution.
static Canvas3D createWindowed(boolean vsync, java.lang.String title)
          Creates a new WINDOWED Canvas3D with desktop resolution.
static Canvas3D createWindowed(DisplayMode dspMode, boolean vsync, FSAA fsaa, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(DisplayMode dspMode, boolean vsync, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(DisplayMode dspMode, FSAA fsaa, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(DisplayMode dspMode, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(FSAA fsaa, java.lang.String title)
          Creates a new WINDOWED Canvas3D with desktop resolution.
static Canvas3D createWindowed(int width, int height, boolean vsync, FSAA fsaa, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(int width, int height, boolean vsync, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(int width, int height, FSAA fsaa, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(int width, int height, int bpp, boolean vsync, FSAA fsaa, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(int width, int height, int bpp, boolean vsync, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(int width, int height, int bpp, FSAA fsaa, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(int width, int height, int bpp, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(int width, int height, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(OpenGLLayer layer, DisplayMode dspMode, boolean vsync, FSAA fsaa, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(OpenGLLayer layer, DisplayMode dspMode, boolean vsync, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(OpenGLLayer layer, DisplayMode dspMode, FSAA fsaa, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(OpenGLLayer layer, DisplayMode dspMode, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(OpenGLLayer layer, int width, int height, boolean vsync, FSAA fsaa, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(OpenGLLayer layer, int width, int height, boolean vsync, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(OpenGLLayer layer, int width, int height, FSAA fsaa, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(OpenGLLayer layer, int width, int height, int bpp, boolean vsync, FSAA fsaa, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(OpenGLLayer layer, int width, int height, int bpp, boolean vsync, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(OpenGLLayer layer, int width, int height, int bpp, FSAA fsaa, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(OpenGLLayer layer, int width, int height, int bpp, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(OpenGLLayer layer, int width, int height, java.lang.String title)
          Creates a new WINDOWED Canvas3D.
static Canvas3D createWindowed(java.lang.String title)
          Creates a new WINDOWED Canvas3D with desktop resolution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static Canvas3D create(OpenGLLayer layer,
                              DisplayMode dspMode,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              FSAA fsaa,
                              int depthbufferSize,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the chosen DisplayMode
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode
depthbufferSize -
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(OpenGLLayer layer,
                              DisplayMode dspMode,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              FSAA fsaa,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the chosen DisplayMode
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(OpenGLLayer layer,
                              DisplayMode dspMode,
                              DisplayMode.FullscreenMode fullscreen,
                              FSAA fsaa,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the chosen DisplayMode
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
fsaa - full scene anti aliasing mode
owner - the container to hold this Canvas3D or null

create

public Canvas3D create(OpenGLLayer layer,
                       DisplayMode dspMode,
                       DisplayMode.FullscreenMode fullscreen,
                       boolean vsync,
                       java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the chosen DisplayMode
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
owner - the container to hold this Canvas3D or null

create

public Canvas3D create(OpenGLLayer layer,
                       DisplayMode dspMode,
                       DisplayMode.FullscreenMode fullscreen,
                       java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the chosen DisplayMode
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(CanvasConstructionInfo canvasInfo,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
canvasInfo - the CanvasConstructionInfo holding all necessary information to create the new Canvas3DWrapper
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(CanvasConstructionInfo canvasInfo,
                              java.lang.String windowTitle)
Creates a new Canvas3D.

Parameters:
canvasInfo - the CanvasConstructionInfo holding all necessary information to create the new Canvas3DWrapper
windowTitle - overrules the title setting of canvasInfo, if non-null

create

public static Canvas3D create(CanvasConstructionInfo canvasInfo)
Creates a new Canvas3D.

Parameters:
canvasInfo - the CanvasConstructionInfo holding all necessary information to create the new Canvas3DWrapper

create

public static Canvas3D create(OpenGLLayer layer,
                              DisplayMode dspMode,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              FSAA fsaa,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the chosen DisplayMode
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode
title - the new window's title

create

public static Canvas3D create(OpenGLLayer layer,
                              DisplayMode dspMode,
                              DisplayMode.FullscreenMode fullscreen,
                              FSAA fsaa,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the chosen DisplayMode
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
fsaa - full scene anti aliasing mode
title - the new window's title

create

public static Canvas3D create(OpenGLLayer layer,
                              DisplayMode dspMode,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the chosen DisplayMode
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
title - the new window's title

create

public static Canvas3D create(OpenGLLayer layer,
                              DisplayMode dspMode,
                              DisplayMode.FullscreenMode fullscreen,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the chosen DisplayMode
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
title - the new window's title

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              FSAA fsaa,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              FSAA fsaa,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
fsaa - full scene anti aliasing mode
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              FSAA fsaa,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              DisplayMode.FullscreenMode fullscreen,
                              FSAA fsaa,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
fsaa - full scene anti aliasing mode
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              DisplayMode.FullscreenMode fullscreen,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              FSAA fsaa,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode
title - the new window's title

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              FSAA fsaa,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
fsaa - full scene anti aliasing mode
title - the new window's title

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
title - the new window's title

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
title - the new window's title

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              FSAA fsaa,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode
title - the new window's title

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              DisplayMode.FullscreenMode fullscreen,
                              FSAA fsaa,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
fsaa - full scene anti aliasing mode
title - the new window's title

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
title - the new window's title

create

public static Canvas3D create(OpenGLLayer layer,
                              int width,
                              int height,
                              DisplayMode.FullscreenMode fullscreen,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width
height - the desired height
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
title - the new window's title

create

public static Canvas3D create(int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              FSAA fsaa,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              FSAA fsaa,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
fsaa - full scene anti aliasing mode
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              java.lang.Object owner)
Creates a new Canvas3D.

Parameters:
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
owner - the container to hold this Canvas3D or null

create

public static Canvas3D create(int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              FSAA fsaa,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode
title - the new window's title

create

public static Canvas3D create(int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              FSAA fsaa,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
fsaa - full scene anti aliasing mode
title - the new window's title

create

public static Canvas3D create(int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              boolean vsync,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
vsync - v-sync enabled or not
title - the new window's title

create

public static Canvas3D create(int width,
                              int height,
                              int bpp,
                              DisplayMode.FullscreenMode fullscreen,
                              java.lang.String title)
Creates a new Canvas3D.

Parameters:
width - the desired width
height - the desired height
bpp - the color depth to use
fullscreen - FULLSCREEN, WINDOWED or WINDOWED_UNDECORATED
title - the new window's title

createWindowed

public static Canvas3D createWindowed(OpenGLLayer layer,
                                      DisplayMode dspMode,
                                      boolean vsync,
                                      FSAA fsaa,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the DisplayMode to use
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode
title - the new window's title

createWindowed

public static Canvas3D createWindowed(OpenGLLayer layer,
                                      DisplayMode dspMode,
                                      FSAA fsaa,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the DisplayMode to use
fsaa - full scene anti aliasing mode
title - the new window's title

createWindowed

public static Canvas3D createWindowed(OpenGLLayer layer,
                                      DisplayMode dspMode,
                                      boolean vsync,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the DisplayMode to use
vsync - v-sync enabled or not
title - the new window's title

createWindowed

public static Canvas3D createWindowed(OpenGLLayer layer,
                                      DisplayMode dspMode,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the DisplayMode to use
title - the new window's title

createWindowed

public static Canvas3D createWindowed(OpenGLLayer layer,
                                      int width,
                                      int height,
                                      int bpp,
                                      boolean vsync,
                                      FSAA fsaa,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use
bpp - the color depth to use
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode
title - the new window's title

createWindowed

public static Canvas3D createWindowed(OpenGLLayer layer,
                                      int width,
                                      int height,
                                      int bpp,
                                      FSAA fsaa,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use
bpp - the color depth to use
fsaa - full scene anti aliasing mode
title - the new window's title

createWindowed

public static Canvas3D createWindowed(OpenGLLayer layer,
                                      int width,
                                      int height,
                                      int bpp,
                                      boolean vsync,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use
bpp - the color depth to use
vsync - v-sync enabled or not
title - the new window's title

createWindowed

public static Canvas3D createWindowed(OpenGLLayer layer,
                                      int width,
                                      int height,
                                      int bpp,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use
bpp - the color depth to use
title - the new window's title

createWindowed

public static Canvas3D createWindowed(OpenGLLayer layer,
                                      int width,
                                      int height,
                                      boolean vsync,
                                      FSAA fsaa,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode
title - the new window's title

createWindowed

public static Canvas3D createWindowed(OpenGLLayer layer,
                                      int width,
                                      int height,
                                      FSAA fsaa,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use
fsaa - full scene anti aliasing mode
title - the new window's title

createWindowed

public static Canvas3D createWindowed(OpenGLLayer layer,
                                      int width,
                                      int height,
                                      boolean vsync,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use
vsync - v-sync enabled or not
title - the new window's title

createWindowed

public static Canvas3D createWindowed(OpenGLLayer layer,
                                      int width,
                                      int height,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use
title - the new window's title

createWindowed

public static Canvas3D createWindowed(int width,
                                      int height,
                                      int bpp,
                                      boolean vsync,
                                      FSAA fsaa,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
width - the desired width to use
height - the desired height to use
fsaa - full scene anti aliasing mode
vsync - v-sync enabled or not
title - the new window's title

createWindowed

public static Canvas3D createWindowed(int width,
                                      int height,
                                      int bpp,
                                      FSAA fsaa,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
width - the desired width to use
height - the desired height to use
fsaa - full scene anti aliasing mode
title - the new window's title

createWindowed

public static Canvas3D createWindowed(int width,
                                      int height,
                                      int bpp,
                                      boolean vsync,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
width - the desired width to use
height - the desired height to use
vsync - v-sync enabled or not
title - the new window's title

createWindowed

public static Canvas3D createWindowed(int width,
                                      int height,
                                      int bpp,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
width - the desired width to use
height - the desired height to use
title - the new window's title

createWindowed

public static Canvas3D createWindowed(int width,
                                      int height,
                                      boolean vsync,
                                      FSAA fsaa,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
width - the desired width to use
height - the desired height to use
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode
title - the new window's title

createWindowed

public static Canvas3D createWindowed(int width,
                                      int height,
                                      FSAA fsaa,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
width - the desired width to use
height - the desired height to use
fsaa - full scene anti aliasing mode
title - the new window's title

createWindowed

public static Canvas3D createWindowed(int width,
                                      int height,
                                      boolean vsync,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
width - the desired width to use
height - the desired height to use
vsync - v-sync enabled or not
title - the new window's title

createWindowed

public static Canvas3D createWindowed(int width,
                                      int height,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
width - the desired width to use
height - the desired height to use
title - the new window's title

createWindowed

public static Canvas3D createWindowed(DisplayMode dspMode,
                                      boolean vsync,
                                      FSAA fsaa,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
dspMode - the DisplayMode to use
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode
title - the container window's title

createWindowed

public static Canvas3D createWindowed(DisplayMode dspMode,
                                      FSAA fsaa,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
dspMode - the DisplayMode to use
fsaa - full scene anti aliasing mode
title - the container window's title

createWindowed

public static Canvas3D createWindowed(DisplayMode dspMode,
                                      boolean vsync,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
dspMode - the DisplayMode to use
vsync - v-sync enabled or not
title - the container window's title

createWindowed

public static Canvas3D createWindowed(DisplayMode dspMode,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D.

Parameters:
dspMode - the DisplayMode to use
title - the container window's title

createWindowed

public static Canvas3D createWindowed(boolean vsync,
                                      FSAA fsaa,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D with desktop resolution.

Parameters:
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode
title - the new window's title

createWindowed

public static Canvas3D createWindowed(FSAA fsaa,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D with desktop resolution.

Parameters:
fsaa - full scene anti aliasing mode
title - the new window's title

createWindowed

public static Canvas3D createWindowed(boolean vsync,
                                      java.lang.String title)
Creates a new WINDOWED Canvas3D with desktop resolution.

Parameters:
vsync - v-sync enabled or not
title - the new window's title

createWindowed

public static Canvas3D createWindowed(java.lang.String title)
Creates a new WINDOWED Canvas3D with desktop resolution.

Parameters:
title - the new window's title

createFullscreen

public static Canvas3D createFullscreen(OpenGLLayer layer,
                                        DisplayMode dspMode,
                                        boolean vsync,
                                        FSAA fsaa)
Creates a new FULLSCREEN Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the DisplayMode to use
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode

createFullscreen

public static Canvas3D createFullscreen(OpenGLLayer layer,
                                        DisplayMode dspMode,
                                        FSAA fsaa)
Creates a new FULLSCREEN Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the DisplayMode to use
fsaa - full scene anti aliasing mode

createFullscreen

public static Canvas3D createFullscreen(OpenGLLayer layer,
                                        DisplayMode dspMode,
                                        boolean vsync)
Creates a new FULLSCREEN Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the DisplayMode to use
vsync - v-sync enabled or not

createFullscreen

public static Canvas3D createFullscreen(OpenGLLayer layer,
                                        DisplayMode dspMode)
Creates a new FULLSCREEN Canvas3D.

Parameters:
layer - the OpenGL layer to use
dspMode - the DisplayMode to use

createFullscreen

public static Canvas3D createFullscreen(OpenGLLayer layer,
                                        int width,
                                        int height,
                                        int bpp,
                                        boolean vsync,
                                        FSAA fsaa)
Creates a new FULLSCREEN Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use
bpp - the color depth to use
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode

createFullscreen

public static Canvas3D createFullscreen(OpenGLLayer layer,
                                        int width,
                                        int height,
                                        int bpp,
                                        FSAA fsaa)
Creates a new FULLSCREEN Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use
bpp - the color depth to use
fsaa - full scene anti aliasing mode

createFullscreen

public static Canvas3D createFullscreen(OpenGLLayer layer,
                                        int width,
                                        int height,
                                        int bpp,
                                        boolean vsync)
Creates a new FULLSCREEN Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use
bpp - the color depth to use
vsync - v-sync enabled or not

createFullscreen

public static Canvas3D createFullscreen(OpenGLLayer layer,
                                        int width,
                                        int height,
                                        int bpp)
Creates a new FULLSCREEN Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use
bpp - the color depth to use

createFullscreen

public static Canvas3D createFullscreen(OpenGLLayer layer,
                                        int width,
                                        int height,
                                        boolean vsync,
                                        FSAA fsaa)
Creates a new FULLSCREEN Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode

createFullscreen

public static Canvas3D createFullscreen(OpenGLLayer layer,
                                        int width,
                                        int height,
                                        FSAA fsaa)
Creates a new FULLSCREEN Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use
fsaa - full scene anti aliasing mode

createFullscreen

public static Canvas3D createFullscreen(OpenGLLayer layer,
                                        int width,
                                        int height,
                                        boolean vsync)
Creates a new FULLSCREEN Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use
vsync - v-sync enabled or not

createFullscreen

public static Canvas3D createFullscreen(OpenGLLayer layer,
                                        int width,
                                        int height)
Creates a new FULLSCREEN Canvas3D.

Parameters:
layer - the OpenGL layer to use
width - the desired width to use
height - the desired height to use

createFullscreen

public static Canvas3D createFullscreen(int width,
                                        int height,
                                        boolean vsync,
                                        FSAA fsaa)
Creates a new FULLSCREEN Canvas3D.

Parameters:
width - the desired width to use
height - the desired height to use
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode

createFullscreen

public static Canvas3D createFullscreen(int width,
                                        int height,
                                        FSAA fsaa)
Creates a new FULLSCREEN Canvas3D.

Parameters:
width - the desired width to use
height - the desired height to use
fsaa - full scene anti aliasing mode

createFullscreen

public static Canvas3D createFullscreen(int width,
                                        int height,
                                        boolean vsync)
Creates a new FULLSCREEN Canvas3D.

Parameters:
width - the desired width to use
height - the desired height to use
vsync - v-sync enabled or not

createFullscreen

public static Canvas3D createFullscreen(int width,
                                        int height)
Creates a new FULLSCREEN Canvas3D.

Parameters:
width - the desired width to use
height - the desired height to use

createFullscreen

public static Canvas3D createFullscreen(DisplayMode dspMode,
                                        boolean vsync,
                                        FSAA fsaa)
Creates a new FULLSCREEN Canvas3D.

Parameters:
dspMode - the DisplayMode to use
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode

createFullscreen

public static Canvas3D createFullscreen(DisplayMode dspMode,
                                        FSAA fsaa)
Creates a new FULLSCREEN Canvas3D.

Parameters:
dspMode - the DisplayMode to use
fsaa - full scene anti aliasing mode

createFullscreen

public static Canvas3D createFullscreen(DisplayMode dspMode,
                                        boolean vsync)
Creates a new FULLSCREEN Canvas3D.

Parameters:
dspMode - the DisplayMode to use
vsync - v-sync enabled or not

createFullscreen

public static Canvas3D createFullscreen(DisplayMode dspMode)
Creates a new FULLSCREEN Canvas3D.

Parameters:
dspMode - the DisplayMode to use

createFullscreen

public static Canvas3D createFullscreen(boolean vsync,
                                        FSAA fsaa)
Creates a new FULLSCREEN Canvas3D with desktop resolution.

Parameters:
vsync - v-sync enabled or not
fsaa - full scene anti aliasing mode

createFullscreen

public static Canvas3D createFullscreen(FSAA fsaa)
Creates a new FULLSCREEN Canvas3D with desktop resolution.

Parameters:
fsaa - full scene anti aliasing mode

createFullscreen

public static Canvas3D createFullscreen(boolean vsync)
Creates a new FULLSCREEN Canvas3D with desktop resolution.

Parameters:
vsync - v-sync enabled or not

createFullscreen

public static Canvas3D createFullscreen()
Creates a new FULLSCREEN Canvas3D with desktop resolution.