using T3.Core.Utils; namespace Lib.image.fx.stylize; [Guid("299e9912-2a6a-40ea-aa31-4c357bbec125")] internal sealed class Dither : Instance { [Output(Guid = "dac50008-a681-4e9a-8a71-e5f4f49a8eb5")] public readonly Slot TextureOutput = new(); [Input(Guid = "4167d4a6-7f8c-4bc9-9424-a54388d2560b")] public readonly InputSlot Image = new InputSlot(); [Input(Guid = "0a3e1e60-39c1-4cb7-a6c1-6442ef0fe9cd")] public readonly InputSlot ShadowColor = new InputSlot(); [Input(Guid = "703cf883-ece6-42d6-9e8c-0248b58eca2d")] public readonly InputSlot HighlightColor = new InputSlot(); [Input(Guid = "9364f41d-0700-4c43-ad16-569081f510cf", MappedType = typeof(Methods))] public readonly InputSlot Method = new InputSlot(); [Input(Guid = "1c8ca868-0d54-4776-92bd-5c4183660216")] public readonly InputSlot GrayScaleWeights = new InputSlot(); [Input(Guid = "3a6f87d6-913b-4200-807c-bb4da3f64fb7")] public readonly InputSlot GainAndBias = new InputSlot(); [Input(Guid = "41d59091-a974-43ed-b45b-0849fb91f6d1")] public readonly InputSlot Scale = new InputSlot(); [Input(Guid = "50335511-3b96-4c23-a604-3bc3dacae062")] public readonly InputSlot Offset = new InputSlot(); [Input(Guid = "0fb3a599-897f-4d38-a284-50374118810f", MappedType = typeof(SharedEnums.RgbBlendModes))] public readonly InputSlot BlendMethod = new InputSlot(); private enum Methods { FloydSteinberg, Diffusion, } }