|
staticconstexpr |
Maximum depth of the matrix stack.
Defines the maximum number of matrices that can be pushed onto the stack. This value is chosen to be sufficient for typical game scene hierarchies while avoiding excessive memory usage.
The value of 16 is selected based on the following considerations:
If a push operation would exceed this depth, it is silently ignored to prevent stack overflow, which is preferable to undefined behavior in a real-time system.