Class GlobalParamNames

java.lang.Object
dev.engine.graphics.shader.GlobalParamNames

public final class GlobalParamNames extends Object
Well-known names for the built-in global shader parameter blocks.

Use these constants instead of raw string literals when referencing the built-in engine, camera, and object param blocks to avoid typos and make refactoring easier.

  • Field Details

    • ENGINE

      public static final String ENGINE
      Name of the per-frame engine parameter block (time, delta, resolution, frame count).
      See Also:
    • CAMERA

      public static final String CAMERA
      Name of the per-frame camera parameter block (view/projection matrices, position, clip planes).
      See Also:
    • OBJECT

      public static final String OBJECT
      Name of the per-draw object parameter block (model matrix).
      See Also: