namespace Lib.field.generate.sdf; /// /// This operator only contains the shader setup to prepare a structuredBuffer with transform matrices /// for each point (e.g. slightly improving the ray marching performance). See /// for the actual implementation of the IShaderGraph note. /// [Guid("2446df39-b455-428a-807d-73c0e6cbab79")] internal sealed class Image2dSDF : Instance { [Output(Guid = "4a3cb304-17f2-4817-a8e1-369ea5361da8")] public readonly Slot Result = new Slot(); private enum CombineMethods { Union, UnionSoft, UnionRound, } [Input(Guid = "c817ea37-e994-462b-ad8a-7e4cadf2f9a5")] public readonly InputSlot SdfImage = new InputSlot(); [Input(Guid = "d7ed4ea1-0472-4535-8f39-fd440400d11d")] public readonly InputSlot SdfScale = new InputSlot(); [Input(Guid = "1bcd6582-0e81-4980-bebe-ccf0d856299c")] public readonly InputSlot ImageSize = new InputSlot(); [Input(Guid = "59297115-f0cd-449e-be89-8a7ccbb0aa44")] public readonly InputSlot Offset = new InputSlot(); }