IT. Expert System.

Android Reference

FileA3D


android.renderscript

Class FileA3D


  • Deprecated.
    in API 16 FileA3D allows users to load Renderscript objects from files or resources stored on disk. It could be used to load items such as 3D geometry data converted to a Renderscript format from content creation tools. Currently only meshes are supported in FileA3D. When successfully loaded, FileA3D will contain a list of index entries for all the objects stored inside it.

    public class FileA3D
    extends BaseObj
    • Method Detail

      • getIndexEntryCount

        public int getIndexEntryCount()
        Deprecated. in API 16 Returns the number of objects stored inside the a3d file
        Returns:
        the number of objects stored inside the a3d file
      • getIndexEntry

        public FileA3D.IndexEntry getIndexEntry(int index)
        Deprecated. in API 16 Returns an index entry from the list of all objects inside FileA3D
        Parameters:
        index - number of the entry from the list to return
        Returns:
        entry in the a3d file described by the index
      • createFromAsset

        public static FileA3D createFromAsset(RenderScript rs,
                              AssetManager mgr,
                              String path)
        Deprecated. in API 16 Creates a FileA3D object from an asset stored on disk
        Parameters:
        rs - Context to which the object will belong.
        mgr - asset manager used to load asset
        path - location of the file to load
        Returns:
        a3d file containing renderscript objects
      • createFromFile

        public static FileA3D createFromFile(RenderScript rs,
                             String path)
        Deprecated. in API 16 Creates a FileA3D object from a file stored on disk
        Parameters:
        rs - Context to which the object will belong.
        path - location of the file to load
        Returns:
        a3d file containing renderscript objects
      • createFromFile

        public static FileA3D createFromFile(RenderScript rs,
                             File path)
        Deprecated. in API 16 Creates a FileA3D object from a file stored on disk
        Parameters:
        rs - Context to which the object will belong.
        path - location of the file to load
        Returns:
        a3d file containing renderscript objects
      • createFromResource

        public static FileA3D createFromResource(RenderScript rs,
                                 Resources res,
                                 int id)
        Deprecated. in API 16 Creates a FileA3D object from an application resource
        Parameters:
        rs - Context to which the object will belong.
        res - resource manager used for loading
        id - resource to create FileA3D from
        Returns:
        a3d file containing renderscript objects


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 171 / . Delta: 0.02009 с