A B C D E F G H I L M N P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addResourceData(String, Buffer) - Method in class com.google.android.filament.gltfio.ResourceLoader
-
Feeds the binary content of an external resource into the loader's URI cache.
- alphaMode - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- Animator - Class in com.google.android.filament.gltfio
-
Updates matrices according to glTF
animationandskindefinitions. - aoUV - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- applyAnimation(int, float) - Method in class com.google.android.filament.gltfio.Animator
-
Applies rotation, translation, and scale to entities that have been targeted by the given animation definition.
- applyCrossFade(int, float, float) - Method in class com.google.android.filament.gltfio.Animator
-
Applies a blended transform to the union of nodes affected by two animations.
- AssetLoader - Class in com.google.android.filament.gltfio
-
Consumes a blob of glTF 2.0 content (either JSON or GLB) and produces a
FilamentAssetobject, which is a bundle of Filament textures, vertex buffers, index buffers, etc. - AssetLoader(Engine, MaterialProvider, EntityManager) - Constructor for class com.google.android.filament.gltfio.AssetLoader
-
Constructs an
AssetLoaderthat can be used to create and destroy instances ofFilamentAsset. - asyncBeginLoad(FilamentAsset) - Method in class com.google.android.filament.gltfio.ResourceLoader
-
Starts an asynchronous resource load.
- asyncCancelLoad() - Method in class com.google.android.filament.gltfio.ResourceLoader
-
Cancels pending decoder jobs and frees all CPU-side texel data.
- asyncGetLoadProgress() - Method in class com.google.android.filament.gltfio.ResourceLoader
-
Gets the status of an asynchronous resource load as a percentage in [0,1].
- asyncUpdateLoad() - Method in class com.google.android.filament.gltfio.ResourceLoader
-
Updates an asynchronous load by performing any pending work that must take place on the main thread.
- attachSkin(int, int) - Method in class com.google.android.filament.gltfio.FilamentInstance
-
Attaches the given skin to the given node, which must have an associated mesh with BONE_INDICES and BONE_WEIGHTS attributes.
B
- baseColorUV - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
C
- clearCoatNormalUV - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- clearCoatRoughnessUV - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- clearCoatUV - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- com.google.android.filament.gltfio - package com.google.android.filament.gltfio
- constrainMaterial(int[]) - Method in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
-
Populate UV map according to the material key, altering latter if required.
- createAsset(Buffer) - Method in class com.google.android.filament.gltfio.AssetLoader
-
Creates a
FilamentAssetfrom the contents of a GLB or GLTF file. - createInstance(FilamentAsset) - Method in class com.google.android.filament.gltfio.AssetLoader
-
Adds a new instance to the asset.
- createInstancedAsset(Buffer, FilamentInstance[]) - Method in class com.google.android.filament.gltfio.AssetLoader
-
Consumes the contents of a glTF 2.0 file and produces a primary asset with one or more instances.
- createMaterialInstance(MaterialProvider.MaterialKey, int[], String, String) - Method in interface com.google.android.filament.gltfio.MaterialProvider
-
Creates or fetches a compiled Filament material, then creates an instance from it.
- createMaterialInstance(MaterialProvider.MaterialKey, int[], String, String) - Method in class com.google.android.filament.gltfio.UbershaderProvider
D
- destroy() - Method in class com.google.android.filament.gltfio.AssetLoader
-
Frees all memory consumed by the native
AssetLoaderThis does not not automatically free the cache of materials, nor does it free the entities for created assets (see destroyAsset). - destroy() - Method in interface com.google.android.filament.gltfio.MaterialProvider
-
Frees memory consumed by the native
MaterialProvider, but does not destroy cached materials. - destroy() - Method in class com.google.android.filament.gltfio.ResourceLoader
-
Frees all memory associated with the native resource loader.
- destroy() - Method in class com.google.android.filament.gltfio.UbershaderProvider
-
Frees memory associated with the native material provider.
- destroyAsset(FilamentAsset) - Method in class com.google.android.filament.gltfio.AssetLoader
-
Frees all memory associated with the given
FilamentAsset. - destroyMaterials() - Method in interface com.google.android.filament.gltfio.MaterialProvider
-
Destroys all cached materials.
- destroyMaterials() - Method in class com.google.android.filament.gltfio.UbershaderProvider
- detachSkin(int, int) - Method in class com.google.android.filament.gltfio.FilamentInstance
-
Attaches the given skin to the given node, which must have an associated mesh with BONE_INDICES and BONE_WEIGHTS attributes.
- doubleSided - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
E
- emissiveUV - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- enableDiagnostics - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- enableDiagnostics(boolean) - Method in class com.google.android.filament.gltfio.AssetLoader
-
Allows clients to enable diagnostic shading on newly-loaded assets.
- evictResourceData() - Method in class com.google.android.filament.gltfio.ResourceLoader
-
Frees memory by evicting the URI cache that was populated via addResourceData.
F
- FilamentAsset - Class in com.google.android.filament.gltfio
-
Owns a bundle of Filament objects that have been created by
AssetLoader. - FilamentInstance - Class in com.google.android.filament.gltfio
-
Provides access to a hierarchy of entities that have been instanced from a glTF asset.
G
- getAnimationCount() - Method in class com.google.android.filament.gltfio.Animator
-
Returns the number of
animationdefinitions in the glTF asset. - getAnimationDuration(int) - Method in class com.google.android.filament.gltfio.Animator
-
Returns the duration of the specified glTF
animationin seconds. - getAnimationName(int) - Method in class com.google.android.filament.gltfio.Animator
-
Returns a weak reference to the string name of the specified
animation, or an empty string if none was specified. - getAnimator() - Method in class com.google.android.filament.gltfio.FilamentInstance
-
Retrieves the
Animatorfor this instance. - getAsset() - Method in class com.google.android.filament.gltfio.FilamentInstance
- getBoundingBox() - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Gets the bounding box computed from the supplied min / max values in glTF accessors.
- getCameraEntities() - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Gets only the entities that have camera components.
- getEngine() - Method in class com.google.android.filament.gltfio.FilamentAsset
- getEntities() - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Gets the list of entities, one for each glTF node.
- getEntities() - Method in class com.google.android.filament.gltfio.FilamentInstance
-
Gets the list of entities for this instance, one for each glTF node.
- getEntitiesByName(String) - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Gets a list of entities with the given name.
- getEntitiesByPrefix(String) - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Gets a list of entities whose names start with the given prefix.
- getExtras(int) - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Gets the glTF extras string for the asset or a specific node.
- getFirstEntityByName(String) - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Returns the first entity with the given name, or 0 if none exist.
- getInstance() - Method in class com.google.android.filament.gltfio.FilamentAsset
- getJointCountAt(int) - Method in class com.google.android.filament.gltfio.FilamentInstance
-
Gets the joint count at skin index in this instance.
- getJointsAt(int) - Method in class com.google.android.filament.gltfio.FilamentInstance
-
Gets joints at skin index in this instance.
- getLightEntities() - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Gets only the entities that have light components.
- getMaterial(MaterialProvider.MaterialKey, int[], String) - Method in interface com.google.android.filament.gltfio.MaterialProvider
-
Creates or fetches a compiled Filament material corresponding to the given config.
- getMaterial(MaterialProvider.MaterialKey, int[], String) - Method in class com.google.android.filament.gltfio.UbershaderProvider
- getMaterialInstances() - Method in class com.google.android.filament.gltfio.FilamentInstance
- getMaterials() - Method in interface com.google.android.filament.gltfio.MaterialProvider
-
Creates and returns an array containing all cached materials.
- getMaterials() - Method in class com.google.android.filament.gltfio.UbershaderProvider
- getMaterialVariantNames() - Method in class com.google.android.filament.gltfio.FilamentInstance
-
Returns the names of all material variants.
- getMorphTargetNames(int) - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Gets the names of all morph targets in the given entity.
- getName(int) - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Gets the
NameComponentManagerlabel for the given entity, if it exists. - getNativeObject() - Method in class com.google.android.filament.gltfio.UbershaderProvider
- getRenderableEntities() - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Gets only the entities that have renderable components.
- getResourceUris() - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Gets resource URIs for all externally-referenced buffers.
- getRoot() - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Gets the transform root for the asset, which has no matching glTF node.
- getRoot() - Method in class com.google.android.filament.gltfio.FilamentInstance
-
Gets the transform root for the asset, which has no matching glTF node.
- getSkinCount() - Method in class com.google.android.filament.gltfio.FilamentInstance
-
Gets the skin count of this instance.
- getSkinNames() - Method in class com.google.android.filament.gltfio.FilamentInstance
-
Gets the skin name at skin index in this instance.
- Gltfio - Class in com.google.android.filament.gltfio
- Gltfio() - Constructor for class com.google.android.filament.gltfio.Gltfio
H
- hasBaseColorTexture - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasClearCoat - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasClearCoatNormalTexture - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasClearCoatRoughnessTexture - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasClearCoatTexture - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasEmissiveTexture - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasIOR - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasMetallicRoughnessTexture - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasNormalTexture - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasOcclusionTexture - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasResourceData(String) - Method in class com.google.android.filament.gltfio.ResourceLoader
-
Checks if the given resource has already been added to the URI cache.
- hasSheen - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasSheenColorTexture - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasSheenRoughnessTexture - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasTextureTransforms - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasTransmission - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasTransmissionTexture - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasVertexColors - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- hasVolumeThicknessTexture - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
I
- init() - Static method in class com.google.android.filament.gltfio.Gltfio
-
Initializes the gltfio JNI layer.
L
- loadResources(FilamentAsset) - Method in class com.google.android.filament.gltfio.ResourceLoader
-
Iterates through all external buffers and images and creates corresponding Filament objects (vertex buffers, textures, etc), which become owned by the asset.
M
- MaterialKey() - Constructor for class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- MaterialProvider - Interface in com.google.android.filament.gltfio
- MaterialProvider.MaterialKey - Class in com.google.android.filament.gltfio
-
MaterialKey specifies the requirements for a requested glTF material.
- metallicRoughnessUV - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
N
- needsDummyData(int) - Method in interface com.google.android.filament.gltfio.MaterialProvider
-
Returns true if the presence of the given vertex attribute is required.
- needsDummyData(int) - Method in class com.google.android.filament.gltfio.UbershaderProvider
- normalUV - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
P
- popRenderable() - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Pops a ready renderable off the queue, or returns 0 if no renderables have become ready.
- popRenderables(int[]) - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Pops one or more renderables off the queue, or returns the available number.
R
- releaseSourceData() - Method in class com.google.android.filament.gltfio.FilamentAsset
-
Reclaims CPU-side memory for URI strings, binding lists, and raw animation data.
- resetBoneMatrices() - Method in class com.google.android.filament.gltfio.Animator
-
Pass the identity matrix into all bone nodes, useful for returning to the T pose.
- ResourceLoader - Class in com.google.android.filament.gltfio
-
Prepares and uploads vertex buffers and textures to the GPU.
- ResourceLoader(Engine) - Constructor for class com.google.android.filament.gltfio.ResourceLoader
-
Constructs a resource loader tied to the given Filament engine.
- ResourceLoader(Engine, boolean) - Constructor for class com.google.android.filament.gltfio.ResourceLoader
-
Constructs a resource loader tied to the given Filament engine.
S
- sheenColorUV - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- sheenRoughnessUV - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
T
- transmissionUV - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
U
- UbershaderProvider - Class in com.google.android.filament.gltfio
-
Loads pre-generated ubershader materials that fulfill glTF requirements.
- UbershaderProvider(Engine) - Constructor for class com.google.android.filament.gltfio.UbershaderProvider
-
Constructs an ubershader loader using the supplied
Engine. - unlit - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
- updateBoneMatrices() - Method in class com.google.android.filament.gltfio.Animator
-
Computes root-to-node transforms for all bone nodes, then passes the results into
RenderableManager.setBonesAsMatrices(int, Buffer, int, int). - useSpecularGlossiness - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
V
- volumeThicknessUV - Variable in class com.google.android.filament.gltfio.MaterialProvider.MaterialKey
All Classes All Packages