public interface BufferBuilderStrategy
GltfModel and arrange it into AccessorModel,
BufferViewModel and BufferModel instances, with
the exact strategy depending on the implementation.| Modifier and Type | Method and Description |
|---|---|
java.util.List<DefaultAccessorModel> |
getAccessorModels()
Returns a list containing all
AccessorModel instances that
have been created. |
java.util.List<DefaultBufferModel> |
getBufferModels()
Returns a list containing all
BufferModel instances that
have been created. |
java.util.List<DefaultBufferViewModel> |
getBufferViewModels()
Returns a list containing all
BufferViewModel instances that
have been created. |
void |
process(GltfModel gltfModel)
Process all
AccessorModel instances that are referred to
by the given GltfModel |
void |
validateImageModel(DefaultImageModel imageModel)
Update the given image model based on the structures that have
been built by this class.
|
void process(GltfModel gltfModel)
AccessorModel instances that are referred to
by the given GltfModelgltfModel - GltfModeljava.util.List<DefaultAccessorModel> getAccessorModels()
AccessorModel instances that
have been created.AccessorModel instancesjava.util.List<DefaultBufferViewModel> getBufferViewModels()
BufferViewModel instances that
have been created.BufferViewModel instancesjava.util.List<DefaultBufferModel> getBufferModels()
BufferModel instances that
have been created.BufferModel instancesvoid validateImageModel(DefaultImageModel imageModel)
ImageModel.getBufferViewModel() and
the ImageModel.getUri() will be updated depending on whether
the image was stored in a buffer view or not:null.null, and
the URI to either its original value, or an auto-generated or
disambiguated URI.imageModel - The ImageModel to updateCopyright © 2024. All Rights Reserved.