using T3.Core.Utils; namespace Lib.image.generate.basic; [Guid("2c3d2c26-ac45-42e9-8f13-6ea338333568")] internal sealed class LinearGradient : Instance { [Output(Guid = "d140f068-d71e-4af5-a563-ab599dae5dbf")] public readonly Slot TextureOutput = new(); [Input(Guid = "d6e157fb-5300-4a9a-aea8-8b0ea0104ea3")] public readonly InputSlot Image = new InputSlot(); [Input(Guid = "e47e9e63-9c94-4c29-9555-2452fa498d57")] public readonly InputSlot Gradient = new InputSlot(); [Input(Guid = "10d59d0f-a5a3-42e6-b874-345ab028978e")] public readonly InputSlot Width = new InputSlot(); [Input(Guid = "e4739314-4075-4d14-a80d-79e149081dac", MappedType = typeof(Modes))] public readonly InputSlot SizeMode = new InputSlot(); [Input(Guid = "c38647f6-c6ea-40a0-b872-0df6d4168c05")] public readonly InputSlot Offset = new InputSlot(); [Input(Guid = "29587763-5456-4d33-bfd4-5d47b133f1cd", MappedType = typeof(OffsetModes))] public readonly InputSlot OffsetMode = new InputSlot(); [Input(Guid = "5774969c-ef4d-482e-ab37-b3a84b09debb")] public readonly InputSlot PingPong = new InputSlot(); [Input(Guid = "7f3fe86d-f259-458a-908a-0a71d39ca678")] public readonly InputSlot Repeat = new InputSlot(); [Input(Guid = "8169be8f-cb35-4900-b462-f2139b412d59")] public readonly InputSlot Rotate = new InputSlot(); [Input(Guid = "abf3456d-35bc-49ec-9aa6-c5571fbb209a")] public readonly InputSlot Center = new InputSlot(); [Input(Guid = "1c70e502-90cc-4285-92ca-ec3d200967eb")] public readonly InputSlot GainAndBias = new InputSlot(); [Input(Guid = "1d0cf561-858d-4510-95c4-f3ad9148355d", MappedType = typeof(SharedEnums.RgbBlendModes))] public readonly InputSlot BlendMode = new InputSlot(); [Input(Guid = "53afc8d9-f417-4628-9a97-220bec62919f")] public readonly InputSlot Resolution = new InputSlot(); [Input(Guid = "a3999108-9915-43cc-a18e-6ad2c203439f")] public readonly InputSlot GenerateMips = new InputSlot(); [Input(Guid = "3a170e98-ba19-4316-a60e-2a8124900172")] public readonly InputSlot TextureFormat = new InputSlot(); private enum Modes { AlignToHeight, AlignToWidth, } private enum OffsetModes { RelativeToImage, RelativeToSize, } }