| Package | Description |
|---|---|
| de.javagl.jgltf.model |
Classes for loading and accessing glTF data.
|
| de.javagl.jgltf.model.impl |
Default implementations of the glTF model interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
static ElementType |
ElementType.forString(java.lang.String string)
Returns the element type for the given string.
|
ElementType |
AccessorModel.getElementType()
Returns the
ElementType that this accessor provides access to |
static ElementType |
ElementType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ElementType[] |
ElementType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static AccessorData |
AccessorDatas.create(int componentType,
java.nio.ByteBuffer bufferViewData,
int byteOffset,
int count,
ElementType elementType,
java.lang.Integer byteStride)
Create an
AccessorData depending on the given component type. |
| Constructor and Description |
|---|
AccessorByteData(int componentType,
java.nio.ByteBuffer bufferViewByteBuffer,
int byteOffset,
int numElements,
ElementType elementType,
java.lang.Integer byteStride)
Creates a new instance for accessing the data in the given
byte buffer, according to the rules described by the given
accessor parameters.
|
AccessorFloatData(int componentType,
java.nio.ByteBuffer bufferViewByteBuffer,
int byteOffset,
int numElements,
ElementType elementType,
java.lang.Integer byteStride)
Creates a new instance for accessing the data in the given
byte buffer, according to the rules described by the given
accessor parameters.
|
AccessorIntData(int componentType,
java.nio.ByteBuffer bufferViewByteBuffer,
int byteOffset,
int numElements,
ElementType elementType,
java.lang.Integer byteStride)
Creates a new instance for accessing the data in the given
byte buffer, according to the rules described by the given
accessor parameters.
|
AccessorShortData(int componentType,
java.nio.ByteBuffer bufferViewByteBuffer,
int byteOffset,
int numElements,
ElementType elementType,
java.lang.Integer byteStride)
Creates a new instance for accessing the data in the given
byte buffer, according to the rules described by the given
accessor parameters.
|
| Modifier and Type | Method and Description |
|---|---|
ElementType |
DefaultAccessorModel.getElementType() |
| Constructor and Description |
|---|
DefaultAccessorModel(int componentType,
int count,
ElementType elementType)
Creates a new instance
|
Copyright © 2022. All Rights Reserved.