Interface SceneShaderInfoProvider
- All Superinterfaces:
Extension
Allows mods to describe how their custom render pipelines should be rendered by the web viewer when game scenes are
exported. Pipelines that no provider handles use
SceneShaderInfo.fromPipeline(RenderPipeline), which only understands the
conventions of the vanilla core shaders.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@Nullable SceneShaderInfogetShaderInfo(com.mojang.blaze3d.pipeline.RenderPipeline pipeline) Methods inherited from interface Extension
onExtensionsBuilt
-
Field Details
-
EXTENSION_POINT
-
-
Method Details
-
getShaderInfo
@Nullable @Nullable SceneShaderInfo getShaderInfo(com.mojang.blaze3d.pipeline.RenderPipeline pipeline) - Returns:
- The shader info for the given pipeline, or null if this provider does not handle it.
-