Package com.banuba.sdk.scene
Class RenderList.CppProxy
java.lang.Object
com.banuba.sdk.scene.RenderList.CppProxy
- All Implemented Interfaces:
RenderList
- Enclosing interface:
- RenderList
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.RenderList
RenderList.CppProxy
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addBlitTargetToTask
(RenderTarget dst, int taskIndex) add blit task to layer.int
addTask
(Layer layer, RenderTarget target, ArrayList<String> subGeoms) add render task to layer.void
clear()
Remove all render tasks.static RenderList
Fabric method for render_list creating.protected void
finalize()
getName()
getTaskLayer
(int taskIndex) return render rask layer, by render task index.long
getTaskSubGeometries
(int taskIndex) return render selected task sub geometries.getTaskTarget
(int taskIndex) return render rask render target, by render task index.void
Set name of the render list
-
Method Details
-
_djinni_private_destroy
public void _djinni_private_destroy() -
finalize
-
setName
Description copied from interface:RenderList
Set name of the render list- Specified by:
setName
in interfaceRenderList
- Parameters:
name
- (string)
-
getName
- Specified by:
getName
in interfaceRenderList
- Returns:
- name (string) of the render list
-
getTasksCount
public long getTasksCount()- Specified by:
getTasksCount
in interfaceRenderList
-
addTask
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<list>): if specified: only sub geometries from this list will be rendered.
-
addBlitTargetToTask
Description copied from interface:RenderList
add blit task to layer.- Specified by:
addBlitTargetToTask
in interfaceRenderList
-
getTaskLayer
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
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
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
Description copied from interface:RenderList
Fabric method for render_list creating.- Returns:
- created render list (render_list).
-