class

OpenGLBindingGenerator::Generators::BindingGenerator

Inherits Reference < Object

The main attraction. Produces the Crystal binding for a specified feature-profile combination.

Constants

LIB_FRAMEWORK = "OpenGL"
LIB_LINK = "gl"
LIB_NAME = "LibGL"
MODULE = "OpenGL"
TOP_LEVEL = "opengl"

Constructors

new(registry : Intermediate::Registry)

Creates the generator.

Source

Instance methods

generate(pair : FeatureProfilePair)

Creates the Crystal binding for the specified feature-profile pair.

Source