java.lang.Object | ||
↳ | android.renderscript.BaseObj | |
↳ | android.renderscript.FileA3D |
This class is 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.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FileA3D.EntryType | This enum is deprecated. in API 16 Specifies what renderscript object type is contained within the FileA3D IndexEntry | ||||||||||
FileA3D.IndexEntry | This class is deprecated. in API 16 IndexEntry contains information about one of the Renderscript objects inside the file's index. It could be used to query the object's type and also name and load the object itself if necessary. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
in API 16
Creates a FileA3D object from an asset stored on disk
| |||||||||||
This method is deprecated.
in API 16
Creates a FileA3D object from a file stored on disk
| |||||||||||
This method is deprecated.
in API 16
Creates a FileA3D object from a file stored on disk
| |||||||||||
This method is deprecated.
in API 16
Creates a FileA3D object from an application resource
| |||||||||||
This method is deprecated.
in API 16
Returns an index entry from the list of all objects inside
FileA3D
| |||||||||||
This method is deprecated.
in API 16
Returns the number of objects stored inside the a3d file
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.renderscript.BaseObj
| |||||||||||
From class
java.lang.Object
|
This method is deprecated.
in API 16
Creates a FileA3D object from an asset stored on disk
rs | Context to which the object will belong. |
---|---|
mgr | asset manager used to load asset |
path | location of the file to load |
This method is deprecated.
in API 16
Creates a FileA3D object from a file stored on disk
rs | Context to which the object will belong. |
---|---|
path | location of the file to load |
This method is deprecated.
in API 16
Creates a FileA3D object from a file stored on disk
rs | Context to which the object will belong. |
---|---|
path | location of the file to load |
This method is deprecated.
in API 16
Creates a FileA3D object from an application resource
rs | Context to which the object will belong. |
---|---|
res | resource manager used for loading |
id | resource to create FileA3D from |
This method is deprecated.
in API 16
Returns an index entry from the list of all objects inside
FileA3D
index | number of the entry from the list to return |
---|
This method is deprecated.
in API 16
Returns the number of objects stored inside the a3d file