This is the documentation for Enlighten.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Enlighten::InputLightingValidation

Static checking functionality.

Validates that the light types are correctly formed.

Classes

Name Description
Enlighten::InputLightingValidation::CheckForMalformedLightTypes

Template class to ensure that the light classes are correctly formed.

Enlighten::InputLightingValidation::CheckForMalformedLightTypes< LIGHT_TYPE_INVALID >

Check for malformed light types.

Enlighten::InputLightingValidation::Host

Host.

Enlighten::InputLightingValidation::InheritsFromInputLightBase

Check that a light type inherits from InputLightBase.

Enlighten::InputLightingValidation::IsBaseOf

Checks for inheritance.

Enlighten::InputLightingValidation::IsMultipleOf16

Check that a light type size is a multiple of 16.

Typedefs

Name Description
char(& no)[2]

No.

char(& yes)[1]

Yes.

Variables

Name Description
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.

  • No labels