AssetLoaderParameters. Instances of this are used in
AssetLoadingTask to load the actual asset.
| Modifier and Type | Field and Description |
|---|---|
| public FileHandle | file
The resolved file. |
| public final String | |
| public final AssetLoaderParameters | |
| public final Class |
| Access | Constructor and Description |
|---|---|
| public | |
| public | AssetDescriptor(FileHandle file, Class<T> assetType)
Creates an AssetDescriptor with an already resolved name. |
| public | |
| public | AssetDescriptor(FileHandle file, Class<T> assetType, AssetLoaderParameters<T> params)
Creates an AssetDescriptor with an already resolved name. |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| file | back to summary |
|---|---|
| public FileHandle file The resolved file. May be null if the fileName has not been resolved yet. | |
| fileName | back to summary |
|---|---|
| public final String fileName | |
| params | back to summary |
|---|---|
| public final AssetLoaderParameters<T> params | |
| type | back to summary |
|---|---|
| public final Class<T> type | |
| AssetDescriptor | back to summary |
|---|---|
| public AssetDescriptor(String fileName, Class<T> assetType) | |
| AssetDescriptor | back to summary |
|---|---|
| public AssetDescriptor(FileHandle file, Class<T> assetType) Creates an AssetDescriptor with an already resolved name. | |
| AssetDescriptor | back to summary |
|---|---|
| public AssetDescriptor(String fileName, Class<T> assetType, AssetLoaderParameters<T> params) | |
| AssetDescriptor | back to summary |
|---|---|
| public AssetDescriptor(FileHandle file, Class<T> assetType, AssetLoaderParameters<T> params) Creates an AssetDescriptor with an already resolved name. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |