RenderConfigOpenGL

clay.RenderConfigOpenGL (Class)

Config specific to an OpenGL rendering context. Note that these are hints to the system, you must always check the values after initializing for what you actually received. The OS/driver decides.

Instance Members

major: Int

The major OpenGL version to request


minor: Int

The minor OpenGL version to request


The OpenGL context profile to request


new(?major: Null<Int>, ?minor: Null<Int>, ?profile: Null<OpenGLProfile>): Void
Name Type Default Description
major Null<Int> (optional) The major OpenGL version to request
minor Null<Int> (optional) The minor OpenGL version to request
profile Null<OpenGLProfile> (optional) The OpenGL context profile to request

Metadata

Name Parameters
:structInit -
:publicFields -