Class AssetManager.CppProxy

    • Method Detail

      • _djinni_private_destroy

        public void _djinni_private_destroy()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.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 interface AssetManager
        Parameters:
        name - (string): image name
        type - (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 interface AssetManager
        Returns:
        created resource (resource).
      • createRenderTarget

        public RenderTarget createRenderTarget​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.String name,
                                      java.lang.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​(java.lang.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,
                                   java.lang.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​(java.lang.String name,
                                       java.lang.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​(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 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​(java.lang.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​(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 interface AssetManager
        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 interface AssetManager
        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 interface AssetManager
        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 interface AssetManager
        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 interface AssetManager
        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 interface AssetManager
        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 interface AssetManager
        Parameters:
        name - (string) material name.