class

OpenGLBindingGenerator::Crystal::EnumValue

Inherits OpenGLBindingGenerator::Crystalize < Reference < Object

A single named value in an enumeration.

Constructors

new(name : String, comment : String | Nil = nil)

Creates the named value.

Source

Instance methods

name

Original name of the value.

Source
size

Size of the value in bytes.

Source
type

Creates a Crystal representation of the type needed to hold this value.

Source
value

Value of the enum.

Source