| Package | Description |
|---|---|
| de.javagl.jgltf.model.io |
Classes for reading and writing glTF data
|
| de.javagl.jgltf.model.io.v1 |
Classes for reading and writing glTF data, for glTF 1.0.
|
| de.javagl.jgltf.model.io.v2 |
Classes for reading and writing glTF data, for glTF 2.0.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<GltfReference> |
GltfAsset.getReferences()
Return a list of all
GltfReference objects that refer to
external resources for this asset |
| Modifier and Type | Method and Description |
|---|---|
static void |
GltfReferenceResolver.resolve(GltfReference reference,
java.util.function.Function<? super java.lang.String,? extends java.nio.ByteBuffer> uriResolver)
Pass the
URI of the given
GltfReference to the given resolver function,
and and pass the resulting byte buffer to the
target of the reference. |
| Modifier and Type | Method and Description |
|---|---|
static void |
GltfReferenceResolver.resolveAll(java.lang.Iterable<? extends GltfReference> references,
java.util.function.Function<? super java.lang.String,? extends java.nio.ByteBuffer> uriResolver)
Calls
GltfReferenceResolver.resolve(GltfReference, Function) with each
GltfReference of the given list |
static void |
GltfReferenceResolver.resolveAll(java.lang.Iterable<? extends GltfReference> references,
java.nio.file.Path basePath)
Calls
GltfReferenceResolver.resolve(GltfReference, Function) with each
GltfReference of the given list, resolving the
Paths of the references against the given base Path |
static void |
GltfReferenceResolver.resolveAll(java.lang.Iterable<? extends GltfReference> references,
java.net.URI baseUri)
Calls
GltfReferenceResolver.resolve(GltfReference, Function) with each
GltfReference of the given list, resolving the
URIs of the references against the given base URI |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<GltfReference> |
GltfAssetV1.getBufferReferences()
Create a list containing all
GltfReference objects for the
buffers that are contained in this model. |
java.util.List<GltfReference> |
GltfAssetV1.getImageReferences()
Create a list containing all
GltfReference objects for the
images that are contained in this model. |
java.util.List<GltfReference> |
GltfAssetV1.getReferences() |
java.util.List<GltfReference> |
GltfAssetV1.getShaderReferences()
Create a list containing all
GltfReference objects for the
shaders that are contained in this model. |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<GltfReference> |
GltfAssetV2.getBufferReferences()
Create a list containing all
GltfReference objects for the
buffers that are contained in this model. |
java.util.List<GltfReference> |
GltfAssetV2.getImageReferences()
Create a list containing all
GltfReference objects for the
images that are contained in this model. |
java.util.List<GltfReference> |
GltfAssetV2.getReferences() |
Copyright © 2022. All Rights Reserved.