Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Enlighten::InputLightingValidation

Static checking functionality.

Validates that the light types are correctly formed.

Classes

Typedefs

NameDescription
char(& no)[2]

No.

char(& yes)[1]

Yes.

Variables

NameDescription
const bool isValid = CheckForMalformedLightTypes<LIGHT_TYPE_NUM_TYPES-1>::Check()

We want to verify at compile-time that all the light classes are correctly formed, so thats what we do here.