class

OpenGLBindingGenerator::Generators::FeaturePopulator

Inherits Reference < Object

Accepts feature blocks and adds/removes the contents of them.

Constructors

new(registry : Intermediate::Registry, type_repository : GroupRepository(Crystal::Type), enum_repository : Hash(String, Crystal::EnumBuilder), constant_repository : GroupRepository(Crystal::Constant), command_repository : Repository(Crystal::Function))

Creates the feature populator.

Source

Instance methods

populate(feature_set, api)

Adds the contents of a feature set to the repositories.

Source