Package com.banuba.sdk.scene
Class AssetManager.CppProxy
- java.lang.Object
-
- com.banuba.sdk.scene.AssetManager.CppProxy
-
- All Implemented Interfaces:
AssetManager
- Enclosing interface:
- AssetManager
public static final class AssetManager.CppProxy extends java.lang.Object implements AssetManager
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.banuba.sdk.scene.AssetManager
AssetManager.CppProxy
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
_djinni_private_destroy()
AudioTrack
createAudioTrack(java.lang.String name)
creates audio_trackMesh
createDynamicMesh(java.lang.String name, java.lang.String path)
creates dynamicaly updated meshFace
createFace(java.lang.String name)
creates faceHand
createHand(java.lang.String name)
creates handImage
createImage(java.lang.String name, ImageType type)
create image of given typeMaterial
createMaterial(java.lang.String name, java.lang.String path)
creates materialMaterial
createMaterialExt(java.lang.String name, java.lang.String vsPath, java.lang.String fsPath, int instanceCount, java.util.ArrayList<java.lang.String> extraDefs)
creates materialMorphing
createMorph(java.lang.String name, MorphingType type)
creates morphingImage
createProceduralTexture(java.lang.String name, ProceduralAlgorithmType type)
RenderTarget
createRenderTarget(java.lang.String name)
creates render targetResource
createResource(java.lang.String filename)
create resource and start async loading in the asset_manager threadpoolImage
createSegmentationMask(java.lang.String name, SegmentationMaskType type)
Mesh
createStaticMesh(java.lang.String name)
creates static meshprotected void
finalize()
AudioTrack
findAudioTrack(java.lang.String name)
Find audio track by specified name.Face
findFace(java.lang.String name)
Find face by specified name.Hand
findHand(java.lang.String name)
Find hand by specified name.Image
findImage(java.lang.String name)
Find image by specified name.Material
findMaterial(java.lang.String name)
Find material by specified name.Mesh
findMesh(java.lang.String name)
Find mesh by specified name.Morphing
findMorph(java.lang.String name)
Find morph by specified name.RenderTarget
findRenderTarget(java.lang.String name)
Find render target by specified name.void
uploadMeshData(Mesh mesh, java.lang.String fileName)
upload mesh file
-
-
-
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
-
createImage
public Image createImage(java.lang.String name, ImageType type)
Description copied from interface:AssetManager
create image of given type- Specified by:
createImage
in interfaceAssetManager
- Parameters:
name
- (string): image nametype
- (image_type): image type- Returns:
- created image (image).
-
createResource
public Resource createResource(java.lang.String filename)
Description copied from interface:AssetManager
create resource and start async loading in the asset_manager threadpool- Specified by:
createResource
in interfaceAssetManager
- Returns:
- created resource (resource).
-
createSegmentationMask
public Image createSegmentationMask(java.lang.String name, SegmentationMaskType type)
- Specified by:
createSegmentationMask
in interfaceAssetManager
-
createProceduralTexture
public Image createProceduralTexture(java.lang.String name, ProceduralAlgorithmType type)
- Specified by:
createProceduralTexture
in interfaceAssetManager
-
createRenderTarget
public RenderTarget createRenderTarget(java.lang.String name)
Description copied from interface:AssetManager
creates render target- Specified by:
createRenderTarget
in interfaceAssetManager
- Parameters:
name
- (string): render target name- Returns:
- created render target (render_target).
-
createAudioTrack
public AudioTrack createAudioTrack(java.lang.String name)
Description copied from interface:AssetManager
creates audio_track- Specified by:
createAudioTrack
in interfaceAssetManager
- Parameters:
name
- (string): audio track name- Returns:
- created audio track (audio_track).
-
createFace
public Face createFace(java.lang.String name)
Description copied from interface:AssetManager
creates face- Specified by:
createFace
in interfaceAssetManager
- Parameters:
name
- (string): face name- Returns:
- created face (face).
-
createMorph
public Morphing createMorph(java.lang.String name, MorphingType type)
Description copied from interface:AssetManager
creates morphing- Specified by:
createMorph
in interfaceAssetManager
- Parameters:
name
- (string): morphing name- Returns:
- created morphing (morphing).
-
createStaticMesh
public Mesh createStaticMesh(java.lang.String name)
Description copied from interface:AssetManager
creates static mesh- Specified by:
createStaticMesh
in interfaceAssetManager
- Parameters:
name
- (string): mesh name- Returns:
- created mesh (mesh).
-
createDynamicMesh
public Mesh createDynamicMesh(java.lang.String name, java.lang.String path)
Description copied from interface:AssetManager
creates dynamicaly updated mesh- Specified by:
createDynamicMesh
in interfaceAssetManager
- Parameters:
name
- (string): mesh namepath
- (string): path to mesh- Returns:
- created mesh (mesh).
-
createHand
public Hand createHand(java.lang.String name)
Description copied from interface:AssetManager
creates hand- Specified by:
createHand
in interfaceAssetManager
- Parameters:
name
- (string): hand name- Returns:
- created hand (hand).
-
uploadMeshData
public void uploadMeshData(Mesh mesh, java.lang.String fileName)
Description copied from interface:AssetManager
upload mesh file- Specified by:
uploadMeshData
in interfaceAssetManager
- Parameters:
mesh
- (mesh): meshfileName
- (string): file to upload
-
createMaterial
public Material createMaterial(java.lang.String name, java.lang.String path)
Description copied from interface:AssetManager
creates material- Specified by:
createMaterial
in interfaceAssetManager
- Parameters:
name
- (string): material namepath
- (string): path to shaders- Returns:
- created material (material).
-
createMaterialExt
public Material createMaterialExt(java.lang.String name, java.lang.String vsPath, java.lang.String fsPath, int instanceCount, java.util.ArrayList<java.lang.String> extraDefs)
Description copied from interface:AssetManager
creates material- Specified by:
createMaterialExt
in interfaceAssetManager
- Parameters:
name
- (string): material namevsPath
- (string): path to vertex shaderfsPath
- (string): path to fragment shaderinstanceCount
- (i32): instances countextraDefs
- (list): defines list for shader - Returns:
- created material (material).
-
findImage
public Image findImage(java.lang.String name)
Description copied from interface:AssetManager
Find image by specified name. Returns null if image not found.- Specified by:
findImage
in interfaceAssetManager
- Parameters:
name
- (string) image name.
-
findRenderTarget
public RenderTarget findRenderTarget(java.lang.String name)
Description copied from interface:AssetManager
Find render target by specified name. Returns null if render target not found.- Specified by:
findRenderTarget
in interfaceAssetManager
- Parameters:
name
- (string) render target name.
-
findAudioTrack
public AudioTrack findAudioTrack(java.lang.String name)
Description copied from interface:AssetManager
Find audio track by specified name. Returns null if audio track not found.- Specified by:
findAudioTrack
in interfaceAssetManager
- Parameters:
name
- (string) audio track name.
-
findFace
public Face findFace(java.lang.String name)
Description copied from interface:AssetManager
Find face by specified name. Returns null if face not found.- Specified by:
findFace
in interfaceAssetManager
- Parameters:
name
- (string) face name.
-
findHand
public Hand findHand(java.lang.String name)
Description copied from interface:AssetManager
Find hand by specified name. Returns null if hand not found.- Specified by:
findHand
in interfaceAssetManager
- Parameters:
name
- (string) hand name.
-
findMorph
public Morphing findMorph(java.lang.String name)
Description copied from interface:AssetManager
Find morph by specified name. Returns null if morph not found.- Specified by:
findMorph
in interfaceAssetManager
- Parameters:
name
- (string) morph name.
-
findMesh
public Mesh findMesh(java.lang.String name)
Description copied from interface:AssetManager
Find mesh by specified name. Returns null if mesh not found.- Specified by:
findMesh
in interfaceAssetManager
- Parameters:
name
- (string) mesh name.
-
findMaterial
public Material findMaterial(java.lang.String name)
Description copied from interface:AssetManager
Find material by specified name. Returns null if material not found.- Specified by:
findMaterial
in interfaceAssetManager
- Parameters:
name
- (string) material name.
-
-