sioncore icon indicating copy to clipboard operation
sioncore copied to clipboard

Asset loader parameters in asset json file

Open meigo opened this issue 10 years ago • 0 comments

Can't figure out how to add parameters to asset json file, for example:

"base":[ {"type":"com.badlogic.gdx.graphics.Texture", "path":"ui/default.png", "parameters": {"magFilter ": "Linear"}}, ... ] }

gives 'com.badlogic.gdx.utils.SerializationException: Field not found: magFilter (com.badlogic.gdx.assets.AssetLoaderParameters)'.

Guess the question is how to specify parameter type, TextureParameter in this case?

meigo avatar Jul 28 '14 14:07 meigo