OpenGLBindingGenerator::Generators::CommandPopulator
Inherits Reference < Object
Populates a command repository with C functions.
Constructors
new(registry : Intermediate::Registry, command_repository : Repository(Crystal::Function), type_repository : Repository(Crystal::Type), enum_repository : Hash(String, Crystal::EnumBuilder))
Creates the populator.
Instance methods
populate(command_name)
Adds the specified command and types and enums it uses to the repositories.