Interface CoreShaderRegistrationCallback

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CoreShaderRegistrationCallback
Called when core shaders (shader programs loaded from assets/<namespace>/shaders/core) are loaded to register custom modded shaders.

Fabric API also modifies the #moj_import feature in core shaders to accept arbitrary namespaces for shaders loaded using the <filename.glsl> syntax. For example, #moj_import <my_mod:test.glsl> would import the shader from assets/my_mod/shaders/include/test.glsl.