Class OGLSystemFactory
java.lang.Object
com.blackrook.gloop.opengl.OGLSystemFactory
A factory class for creating OGLSystems.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OGLGraphics.OptionsDefault options.static final OGLGraphics.OptionsOptions that disable error checking. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OGLSystem<OGL11Graphics> Creates an OpenGL 1.1 implementation system.static OGLSystem<OGL11Graphics> getOpenGL11(OGLGraphics.Options options) Creates an OpenGL 1.1 implementation system.static OGLSystem<OGL12Graphics> Creates an OpenGL 1.2 implementation system.static OGLSystem<OGL12Graphics> getOpenGL12(OGLGraphics.Options options) Creates an OpenGL 1.2 implementation system.static OGLSystem<OGL13Graphics> Creates an OpenGL 1.3 implementation system.static OGLSystem<OGL13Graphics> getOpenGL13(OGLGraphics.Options options) Creates an OpenGL 1.3 implementation system.static OGLSystem<OGL14Graphics> Creates an OpenGL 1.4 implementation system.static OGLSystem<OGL14Graphics> getOpenGL14(OGLGraphics.Options options) Creates an OpenGL 1.4 implementation system.static OGLSystem<OGL15Graphics> Creates an OpenGL 1.5 implementation system.static OGLSystem<OGL15Graphics> getOpenGL15(OGLGraphics.Options options) Creates an OpenGL 1.5 implementation system.static OGLSystem<OGL20Graphics> Creates an OpenGL 2.0 implementation system.static OGLSystem<OGL20Graphics> getOpenGL20(OGLGraphics.Options options) Creates an OpenGL 2.0 implementation system.static OGLSystem<OGL21Graphics> Creates an OpenGL 2.1 implementation system.static OGLSystem<OGL21Graphics> getOpenGL21(OGLGraphics.Options options) Creates an OpenGL 2.1 implementation system.static OGLSystem<OGL30Graphics> Creates an OpenGL 3.0 implementation system.static OGLSystem<OGL30Graphics> getOpenGL30(OGLGraphics.Options options) Creates an OpenGL 3.0 implementation system.static OGLSystem<OGL30Graphics> Creates an OpenGL 3.0 Core implementation system.static OGLSystem<OGL30Graphics> getOpenGL30Core(OGLGraphics.Options options) Creates an OpenGL 3.0 Core implementation system.static OGLSystem<OGL31Graphics> Creates an OpenGL 3.1 implementation system.static OGLSystem<OGL31Graphics> getOpenGL31(OGLGraphics.Options options) Creates an OpenGL 3.1 implementation system.static OGLSystem<OGL31Graphics> Creates an OpenGL 3.1 Core implementation system.static OGLSystem<OGL31Graphics> getOpenGL31Core(OGLGraphics.Options options) Creates an OpenGL 3.1 Core implementation system.static OGLSystem<OGL32Graphics> Creates an OpenGL 3.2 implementation system.static OGLSystem<OGL32Graphics> getOpenGL32(OGLGraphics.Options options) Creates an OpenGL 3.2 implementation system.static OGLSystem<OGL32Graphics> Creates an OpenGL 3.2 Core implementation system.static OGLSystem<OGL32Graphics> getOpenGL32Core(OGLGraphics.Options options) Creates an OpenGL 3.2 Core implementation system.static OGLSystem<OGL33Graphics> Creates an OpenGL 3.3 implementation system.static OGLSystem<OGL33Graphics> getOpenGL33(OGLGraphics.Options options) Creates an OpenGL 3.3 implementation system.static OGLSystem<OGL33Graphics> Creates an OpenGL 3.3 Core implementation system.static OGLSystem<OGL33Graphics> getOpenGL33Core(OGLGraphics.Options options) Creates an OpenGL 3.3 Core implementation system.static OGLSystem<OGL40Graphics> Creates an OpenGL 4.0 Core implementation system.static OGLSystem<OGL40Graphics> getOpenGL40Core(OGLGraphics.Options options) Creates an OpenGL 4.0 Core implementation system.static OGLSystem<OGL41Graphics> Creates an OpenGL 4.1 Core implementation system.static OGLSystem<OGL41Graphics> getOpenGL41Core(OGLGraphics.Options options) Creates an OpenGL 4.1 Core implementation system.static OGLSystem<OGL42Graphics> Creates an OpenGL 4.2 Core implementation system.static OGLSystem<OGL42Graphics> getOpenGL42Core(OGLGraphics.Options options) Creates an OpenGL 4.2 Core implementation system.static OGLSystem<OGL43Graphics> Creates an OpenGL 4.3 Core implementation system.static OGLSystem<OGL43Graphics> getOpenGL43Core(OGLGraphics.Options options) Creates an OpenGL 4.3 Core implementation system.static OGLSystem<OGL44Graphics> Creates an OpenGL 4.4 Core implementation system.static OGLSystem<OGL44Graphics> getOpenGL44Core(OGLGraphics.Options options) Creates an OpenGL 4.4 Core implementation system.static OGLSystem<OGL45Graphics> Creates an OpenGL 4.5 Core implementation system.static OGLSystem<OGL45Graphics> getOpenGL45Core(OGLGraphics.Options options) Creates an OpenGL 4.5 Core implementation system.static OGLSystem<OGL46Graphics> Creates an OpenGL 4.6 Core implementation system.static OGLSystem<OGL46Graphics> getOpenGL46Core(OGLGraphics.Options options) Creates an OpenGL 4.6 Core implementation system.
-
Field Details
-
NO_ERROR_CHECKING
Options that disable error checking. -
DEFAULT_OPTIONS
Default options.
-
-
Constructor Details
-
OGLSystemFactory
public OGLSystemFactory()
-
-
Method Details
-
getOpenGL11
Creates an OpenGL 1.1 implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL12
Creates an OpenGL 1.2 implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL13
Creates an OpenGL 1.3 implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL14
Creates an OpenGL 1.4 implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL15
Creates an OpenGL 1.5 implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL20
Creates an OpenGL 2.0 implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL21
Creates an OpenGL 2.1 implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL30
Creates an OpenGL 3.0 implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL30Core
Creates an OpenGL 3.0 Core implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL31
Creates an OpenGL 3.1 implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL31Core
Creates an OpenGL 3.1 Core implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL32
Creates an OpenGL 3.2 implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL32Core
Creates an OpenGL 3.2 Core implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL33
Creates an OpenGL 3.3 implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL33Core
Creates an OpenGL 3.3 Core implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL40Core
Creates an OpenGL 4.0 Core implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL41Core
Creates an OpenGL 4.1 Core implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL42Core
Creates an OpenGL 4.2 Core implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL43Core
Creates an OpenGL 4.3 Core implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL44Core
Creates an OpenGL 4.4 Core implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL45Core
Creates an OpenGL 4.5 Core implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL46Core
Creates an OpenGL 4.6 Core implementation system.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL11
Creates an OpenGL 1.1 implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL12
Creates an OpenGL 1.2 implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL13
Creates an OpenGL 1.3 implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL14
Creates an OpenGL 1.4 implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL15
Creates an OpenGL 1.5 implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL20
Creates an OpenGL 2.0 implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL21
Creates an OpenGL 2.1 implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL30
Creates an OpenGL 3.0 implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL30Core
Creates an OpenGL 3.0 Core implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL31
Creates an OpenGL 3.1 implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL31Core
Creates an OpenGL 3.1 Core implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL32
Creates an OpenGL 3.2 implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL32Core
Creates an OpenGL 3.2 Core implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL33
Creates an OpenGL 3.3 implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL33Core
Creates an OpenGL 3.3 Core implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL40Core
Creates an OpenGL 4.0 Core implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL41Core
Creates an OpenGL 4.1 Core implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL42Core
Creates an OpenGL 4.2 Core implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL43Core
Creates an OpenGL 4.3 Core implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL44Core
Creates an OpenGL 4.4 Core implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL45Core
Creates an OpenGL 4.5 Core implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-
getOpenGL46Core
Creates an OpenGL 4.6 Core implementation system.- Parameters:
options- the system options reference to pass to the graphics instance.- Returns:
- an OGLSystem using the desired graphics implementation.
- Throws:
GraphicsException- if the given implementation could not be created.
-