Class GlobalParamNames
java.lang.Object
dev.engine.graphics.shader.GlobalParamNames
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringName of the per-frame camera parameter block (view/projection matrices, position, clip planes).static final StringName of the per-frame engine parameter block (time, delta, resolution, frame count).static final StringName of the per-draw object parameter block (model matrix). -
Method Summary
-
Field Details
-
ENGINE
Name of the per-frame engine parameter block (time, delta, resolution, frame count).- See Also:
-
CAMERA
Name of the per-frame camera parameter block (view/projection matrices, position, clip planes).- See Also:
-
OBJECT
Name of the per-draw object parameter block (model matrix).- See Also:
-