Package com.banuba.sdk.scene
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 java.lang.Object implements RenderList
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.RenderList
RenderList.CppProxy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_djinni_private_destroy()
void
addBlitTargetToTask(RenderTarget dst, int taskIndex)
add blit task to layer.int
addTask(Layer layer, RenderTarget target, java.util.ArrayList<java.lang.String> subGeoms)
add render task to layer.void
clear()
Remove all render tasks.static RenderList
create(java.lang.String name)
Fabric method for render_list creating.protected void
finalize()
java.lang.String
getName()
Layer
getTaskLayer(int taskIndex)
return render rask layer, by render task index.long
getTasksCount()
java.util.ArrayList<java.lang.String>
getTaskSubGeometries(int taskIndex)
return render selected task sub geometries.RenderTarget
getTaskTarget(int taskIndex)
return render rask render target, by render task index.void
setName(java.lang.String name)
Set name of the render list
-
-
-
Method Detail
-
_djinni_private_destroy
public void _djinni_private_destroy()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.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 interfaceRenderList
- Parameters:
name
- (string)
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceRenderList
- Returns:
- name (string) of the render list
-
getTasksCount
public long getTasksCount()
- Specified by:
getTasksCount
in interfaceRenderList
-
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 interfaceRenderList
- 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.
-
addBlitTargetToTask
public void addBlitTargetToTask(RenderTarget dst, int taskIndex)
Description copied from interface:RenderList
add blit task to layer.- Specified by:
addBlitTargetToTask
in interfaceRenderList
-
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 interfaceRenderList
- 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 interfaceRenderList
- 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 interfaceRenderList
- 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 interfaceRenderList
-
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).
-
-