Class RenderList.CppProxy

  • All Implemented Interfaces:
    RenderList
    Enclosing interface:
    RenderList

    public static final class RenderList.CppProxy
    extends java.lang.Object
    implements RenderList
    • Method Detail

      • _djinni_private_destroy

        public void _djinni_private_destroy()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable
      • setName

        public void setName​(java.lang.String name)
        Description copied from interface: RenderList
        Set name of the render list
        Specified by:
        setName in interface RenderList
        Parameters:
        name - (string)
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface RenderList
        Returns:
        name (string) of the render list
      • addTask

        public int addTask​(Layer layer,
                           RenderTarget target,
                           java.util.ArrayList<java.lang.String> subGeoms)
        Description copied from interface: RenderList
        add render task to layer.
        Specified by:
        addTask in interface RenderList
        Parameters:
        layer - (layer): entities layer.
        target - (render_target): needed render target. Do not change if previous target was the same. (Target changing will trigger start/finish behavior.)
        subGeoms - (optional>): if specified: only sub geometries from this list will be rendered.
      • getTaskLayer

        public Layer getTaskLayer​(int taskIndex)
        Description copied from interface: RenderList
        return render rask layer, by render task index. Throw if index >= tasks size.
        Specified by:
        getTaskLayer in interface RenderList
        Parameters:
        taskIndex - (int): render task index.
        Returns:
        task layer (layer)
      • getTaskSubGeometries

        public java.util.ArrayList<java.lang.String> getTaskSubGeometries​(int taskIndex)
        Description copied from interface: RenderList
        return render selected task sub geometries. If list is empty - all sub geometries will be rendered
        Specified by:
        getTaskSubGeometries in interface RenderList
        Parameters:
        taskIndex - (int): render task index.
        Returns:
        sub geometries list (list): list of sub geometries to render
      • getTaskTarget

        public RenderTarget getTaskTarget​(int taskIndex)
        Description copied from interface: RenderList
        return render rask render target, by render task index. Throw if index >= tasks size.
        Specified by:
        getTaskTarget in interface RenderList
        Parameters:
        taskIndex - (int): render task index.
        Returns:
        task render target (render_target)
      • clear

        public void clear()
        Description copied from interface: RenderList
        Remove all render tasks.
        Specified by:
        clear in interface RenderList
      • create

        @Nullable
        public static RenderList create​(@NonNull
                                        java.lang.String name)
        Description copied from interface: RenderList
        Fabric method for render_list creating.
        Returns:
        created render list (render_list).