wuye9036/SalviaRenderer

Modernize enumerations with `enum class`, `nameof` and `constexpr`.

wuye9036 opened this issue · 1 comments

Modernize enumerations with enum class, nameof and constexpr.

Refactor goals after investigation:

  • The name of enums only needed on operators and builtin_types. Other type names are not needed.
  • node_ids are not needed if the implementation of attributes are refactored to modern type erasure except type.
  • builtin_types in shader compiler will merged with the same one in shader.h.
  • enums will be header-only.