Class OpenGlConfig
java.lang.Object
dev.engine.graphics.GraphicsConfig
dev.engine.graphics.opengl.OpenGlConfig
OpenGL graphics configuration.
var gfx = new OpenGlConfig(toolkit, glBindings);
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RenderDevicecreateDevice(WindowHandle window) Creates the backend-specific render device for the given window.Methods inherited from class GraphicsConfig
create, headless, headless, maxAnisotropy, maxAnisotropy, msaaSamples, msaaSamples, presentMode, presentMode, srgb, srgb, toolkit, validation, validation
-
Constructor Details
-
OpenGlConfig
-
-
Method Details
-
createDevice
Description copied from class:GraphicsConfigCreates the backend-specific render device for the given window. Implemented by each backend config.- Specified by:
createDevicein classGraphicsConfig
-