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 Object implements AssetManager
  • Method Details

    • _djinni_private_destroy

      public void _djinni_private_destroy()
    • finalize

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

      public Image createImage(String name, ImageType type)
      Description copied from interface: AssetManager
      create image of given type
      Specified by:
      createImage in interface AssetManager
      Parameters:
      name - (string): image name
      type - (image_type): image type
      Returns:
      created image (image).
    • createResource

      public Resource createResource(String filename)
      Description copied from interface: AssetManager
      create resource and start async loading in the asset_manager threadpool
      Specified by:
      createResource in interface AssetManager
      Returns:
      created resource (resource).
    • createSegmentationMask

      public Image createSegmentationMask(String name, SegmentationMaskType type)
      Specified by:
      createSegmentationMask in interface AssetManager
    • createProceduralTexture

      public Image createProceduralTexture(String name, ProceduralAlgorithmType type)
      Specified by:
      createProceduralTexture in interface AssetManager
    • createRenderTarget

      public RenderTarget createRenderTarget(String name)
      Description copied from interface: AssetManager
      creates render target
      Specified by:
      createRenderTarget in interface AssetManager
      Parameters:
      name - (string): render target name
      Returns:
      created render target (render_target).
    • createAudioTrack

      public AudioTrack createAudioTrack(String name)
      Description copied from interface: AssetManager
      creates audio_track
      Specified by:
      createAudioTrack in interface AssetManager
      Parameters:
      name - (string): audio track name
      Returns:
      created audio track (audio_track).
    • createFace

      public Face createFace(String name)
      Description copied from interface: AssetManager
      creates face
      Specified by:
      createFace in interface AssetManager
      Parameters:
      name - (string): face name
      Returns:
      created face (face).
    • createMorph

      public Morphing createMorph(String name, MorphingType type)
      Description copied from interface: AssetManager
      creates morphing
      Specified by:
      createMorph in interface AssetManager
      Parameters:
      name - (string): morphing name
      Returns:
      created morphing (morphing).
    • createStaticMesh

      public Mesh createStaticMesh(String name)
      Description copied from interface: AssetManager
      creates static mesh
      Specified by:
      createStaticMesh in interface AssetManager
      Parameters:
      name - (string): mesh name
      Returns:
      created mesh (mesh).
    • createDynamicMesh

      public Mesh createDynamicMesh(String name, String path)
      Description copied from interface: AssetManager
      creates dynamicaly updated mesh
      Specified by:
      createDynamicMesh in interface AssetManager
      Parameters:
      name - (string): mesh name
      path - (string): path to mesh
      Returns:
      created mesh (mesh).
    • createHand

      public Hand createHand(String name)
      Description copied from interface: AssetManager
      creates hand
      Specified by:
      createHand in interface AssetManager
      Parameters:
      name - (string): hand name
      Returns:
      created hand (hand).
    • uploadMeshData

      public void uploadMeshData(Mesh mesh, String fileName)
      Description copied from interface: AssetManager
      upload mesh file
      Specified by:
      uploadMeshData in interface AssetManager
      Parameters:
      mesh - (mesh): mesh
      fileName - (string): file to upload
    • createMaterial

      public Material createMaterial(String name, String path)
      Description copied from interface: AssetManager
      creates material
      Specified by:
      createMaterial in interface AssetManager
      Parameters:
      name - (string): material name
      path - (string): path to shaders
      Returns:
      created material (material).
    • createMaterialExt

      public Material createMaterialExt(String name, String vsPath, String fsPath, int instanceCount, ArrayList<String> extraDefs)
      Description copied from interface: AssetManager
      creates material
      Specified by:
      createMaterialExt in interface AssetManager
      Parameters:
      name - (string): material name
      vsPath - (string): path to vertex shader
      fsPath - (string): path to fragment shader
      instanceCount - (i32): instances count
      extraDefs - (list): defines list for shader
      Returns:
      created material (material).
    • findImage

      public Image findImage(String name)
      Description copied from interface: AssetManager
      Find image by specified name. Returns null if image not found.
      Specified by:
      findImage in interface AssetManager
      Parameters:
      name - (string) image name.
    • findRenderTarget

      public RenderTarget findRenderTarget(String name)
      Description copied from interface: AssetManager
      Find render target by specified name. Returns null if render target not found.
      Specified by:
      findRenderTarget in interface AssetManager
      Parameters:
      name - (string) render target name.
    • findAudioTrack

      public AudioTrack findAudioTrack(String name)
      Description copied from interface: AssetManager
      Find audio track by specified name. Returns null if audio track not found.
      Specified by:
      findAudioTrack in interface AssetManager
      Parameters:
      name - (string) audio track name.
    • findFace

      public Face findFace(String name)
      Description copied from interface: AssetManager
      Find face by specified name. Returns null if face not found.
      Specified by:
      findFace in interface AssetManager
      Parameters:
      name - (string) face name.
    • findHand

      public Hand findHand(String name)
      Description copied from interface: AssetManager
      Find hand by specified name. Returns null if hand not found.
      Specified by:
      findHand in interface AssetManager
      Parameters:
      name - (string) hand name.
    • findMorph

      public Morphing findMorph(String name)
      Description copied from interface: AssetManager
      Find morph by specified name. Returns null if morph not found.
      Specified by:
      findMorph in interface AssetManager
      Parameters:
      name - (string) morph name.
    • findMesh

      public Mesh findMesh(String name)
      Description copied from interface: AssetManager
      Find mesh by specified name. Returns null if mesh not found.
      Specified by:
      findMesh in interface AssetManager
      Parameters:
      name - (string) mesh name.
    • findMaterial

      public Material findMaterial(String name)
      Description copied from interface: AssetManager
      Find material by specified name. Returns null if material not found.
      Specified by:
      findMaterial in interface AssetManager
      Parameters:
      name - (string) material name.