class

OpenGLBindingGenerator::Intermediate::Enumerants

Inherits Enumerable < Reference < Object

Collection of enum values organized by namespace and vendor.

Constructors

new(namespace : String, group : Nil | String, type : Nil | String, comment : Nil | String, vendor : Nil | String, range : Range(Int32, Int32) | Nil, values : Array(EnumValue))

Creates the enums collection.

Source

Instance methods

comment

Optional comment describing the enums.

Source
comment?

Optional comment describing the enums.

Source
each

Yields each enum value.

Source
group

Enum group the enums are for.

Source
group?

Enum group the enums are for.

Source
namespace

Namespace of the enums.

Source
range

Range of values the enums cover.

Source
range?

Range of values the enums cover.

Source
type

Enum type modifier.

Source
type?

Enum type modifier.

Source
vendor

Vendor the enums are specifically for.

Source
vendor?

Vendor the enums are specifically for.

Source