Variable naming conventions

Revision as of 03:18, 19 August 2022 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

General Variable Naming Conventions

These are the basic naming conventions that are used for the Engine, although not enforced in all cases, should serve as a reference to try and apply when contributing to the source code.

  1. Member variables are named with a m_ prefix
  2. Class names have a name starting with a capital letter ClassName for instance
  3. Pointers use the p prefix
  4. Smart Pointers use the sp prefix