enum Gloop::Context::Profile

Overview

Profile an OpenGL context is utilizing.

See: https://www.khronos.org/opengl/wiki/OpenGL_Context#OpenGL_3.2_and_Profiles

Defined in:

gloop/context/profile.cr

Enum Members

Core = 1_u32

OpenGL specification without deprecated features.

Available on all systems.

Compatibility = 2_u32

OpenGL specification with deprecated features.

Not available on all systems.

Instance Method Summary

Instance Method Detail

def compatibility? #

[View source]
def core? #

[View source]
def to_unsafe #

Converts to an OpenGL enum.


[View source]