class

OpenGLBindingGenerator::Intermediate::GenericEnumValue(T)

Inherits OpenGLBindingGenerator::Intermediate::EnumValue < Reference < Object

A single enum and its value.

Constructors

new(name, value : T, comment, api, alternate_name, groups = [] of String)

Creates the enum value.

Source

Instance methods

crystalize

Creates a Crystal representation of the enum value.

Source
crystalize_alias

Creates a Crystal representation of the enum value with the alias.

Source
value

Integer value.

Source