A B C D E F G H I L M N P R S T U V 
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 animation and skin definitions.
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.
applyMaterialVariant(int) - Method in class com.google.android.filament.gltfio.FilamentAsset
Applies the given material variant to all primitives that it affects.
AssetLoader - Class in com.google.android.filament.gltfio
Consumes a blob of glTF 2.0 content (either JSON or GLB) and produces a FilamentAsset object, which is a bundle of Filament entities, material instances, textures, vertex buffers, and index buffers.
AssetLoader(Engine, MaterialProvider, EntityManager) - Constructor for class com.google.android.filament.gltfio.AssetLoader
Constructs an AssetLoader that can be used to create and destroy instances of FilamentAsset.
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.

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.
createAssetFromBinary(Buffer) - Method in class com.google.android.filament.gltfio.AssetLoader
Creates a FilamentAsset from the contents of a GLB file.
createAssetFromJson(Buffer) - Method in class com.google.android.filament.gltfio.AssetLoader
Creates a FilamentAsset from the contents of a GLTF file.
createInstance(FilamentAsset) - Method in class com.google.android.filament.gltfio.AssetLoader
Adds a new instance to an instanced 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.UbershaderLoader
 

D

destroy() - Method in class com.google.android.filament.gltfio.AssetLoader
Frees all memory consumed by the native AssetLoader This 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.UbershaderLoader
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.UbershaderLoader
 
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 animation definitions in the glTF asset.
getAnimationDuration(int) - Method in class com.google.android.filament.gltfio.Animator
Returns the duration of the specified glTF animation in 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.FilamentAsset
Retrieves the Animator interface for this asset.
getAnimator() - Method in class com.google.android.filament.gltfio.FilamentInstance
Retrieves the Animator for 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.
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.
getLightEntities() - Method in class com.google.android.filament.gltfio.FilamentAsset
Gets only the entities that have light components.
getMaterialInstances() - Method in class com.google.android.filament.gltfio.FilamentAsset
 
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.UbershaderLoader
 
getMaterialVariantNames() - Method in class com.google.android.filament.gltfio.FilamentAsset
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 NameComponentManager label for the given entity, if it exists.
getNativeObject() - Method in class com.google.android.filament.gltfio.UbershaderLoader
 
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.
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.UbershaderLoader
 
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.
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, boolean, 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

UbershaderLoader - Class in com.google.android.filament.gltfio
Loads pre-generated ubershader materials that fulfill glTF requirements.
UbershaderLoader(Engine) - Constructor for class com.google.android.filament.gltfio.UbershaderLoader
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
 
A B C D E F G H I L M N P R S T U V 
All Classes All Packages