RenderPipeline

constructor(@NotNull parent: @NotNull ModelRenderer, @NotNull source: @NotNull RenderSource<*>, @NotNull bones: Array<@NotNull RenderedBone>)

Creates a new render pipeline for a model renderer and root bones.


RenderPipeline pipeline = new RenderPipeline(modelRenderer, renderSource, rootBones);

Since

1.15.2

Parameters

parent

the parent model renderer

source

the source of the rendering (entity or location)

bones

the array of root bones

Throws

if parent, source, or bones is null