Class RenderList.CppProxy

java.lang.Object
com.banuba.sdk.scene.RenderList.CppProxy
All Implemented Interfaces:
RenderList
Enclosing interface:
RenderList

public static final class RenderList.CppProxy extends Object implements RenderList
  • Method Details

    • _djinni_private_destroy

      public void _djinni_private_destroy()
    • finalize

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

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

      public String getName()
      Specified by:
      getName in interface RenderList
      Returns:
      name (string) of the render list
    • getTasksCount

      public long getTasksCount()
      Specified by:
      getTasksCount in interface RenderList
    • addTask

      public int addTask(Layer layer, RenderTarget target, ArrayList<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<list>): if specified: only sub geometries from this list will be rendered.
    • addBlitTargetToTask

      public void addBlitTargetToTask(RenderTarget dst, int taskIndex)
      Description copied from interface: RenderList
      add blit task to layer.
      Specified by:
      addBlitTargetToTask in interface RenderList
    • 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 ArrayList<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 String name)
      Description copied from interface: RenderList
      Fabric method for render_list creating.
      Returns:
      created render list (render_list).