Uses of Enum Class
org.dark.shaders.util.TextureData.ObjectType
Packages that use TextureData.ObjectType
-
Uses of TextureData.ObjectType in org.dark.shaders.util
Methods in org.dark.shaders.util that return TextureData.ObjectTypeModifier and TypeMethodDescriptionstatic TextureData.ObjectTypeReturns the enum constant of this class with the specified name.static TextureData.ObjectType[]TextureData.ObjectType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.dark.shaders.util with parameters of type TextureData.ObjectTypeModifier and TypeMethodDescriptionstatic com.fs.starfarer.api.graphics.SpriteAPITextureData.autoGenNormalMap(String spritePath, String key, TextureData.ObjectType type, int frame) Creates a normal map for the given sprite.static TextureEntryTextureData.getTextureData(String key, TextureData.TextureDataType map, TextureData.ObjectType type, int frame) Gets the requested texture map data.static TextureEntryTextureData.getTextureDataWithAutoGen(String key, TextureData.TextureDataType map, TextureData.ObjectType type, int frame, Object object, boolean unloadedOk) Gets the requested texture map data, with the possibility of auto-generation of normal maps.static TextureEntryShaderLib.getWeaponTexture(com.fs.starfarer.api.combat.WeaponAPI weapon, TextureData.TextureDataType texType, TextureData.ObjectType objType, int frame) Retrieves the most appropriate TextureEntry corresponding to the given weapon, texture, and object type.static voidTextureData.mapSpriteToMNSWithAutoGen(String key, String spriteName, TextureData.ObjectType type, int frame, boolean autoGen, boolean autoGenOverride) Utility function to associate a sprite with the internal texture database.