Class GlBackend
java.lang.Object
com.mojang.blaze3d.opengl.GlBackend
- All Implemented Interfaces:
GpuBackend
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDeviceWithWindow(int width, int height, String title, long monitor, ShaderSource defaultShaderSource, GpuDebugOptions debugOptions) getName()
-
Field Details
-
VERSION_MAJOR
private static final int VERSION_MAJOR- See Also:
-
VERSION_MINOR
private static final int VERSION_MINOR- See Also:
-
-
Constructor Details
-
GlBackend
public GlBackend()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceGpuBackend
-
createDeviceWithWindow
public WindowAndDevice createDeviceWithWindow(int width, int height, String title, long monitor, ShaderSource defaultShaderSource, GpuDebugOptions debugOptions) throws BackendCreationException - Specified by:
createDeviceWithWindowin interfaceGpuBackend- Throws:
BackendCreationException
-