Files
2026-07-13 13:13:17 +08:00

47 lines
2.0 KiB
C#

using T3.Core.Utils;
namespace Lib.point.draw;
[Guid("84a93ea9-98fb-4088-a1e9-87454f7292f1")]
internal sealed class DrawPointsShaded : Instance<DrawPointsShaded>
{
[Output(Guid = "037f6608-c1c8-417c-8a35-04e1357110fe")]
public readonly Slot<Command> Output = new();
[Input(Guid = "92e069cf-d136-4a13-8bcd-243731f77a54")]
public readonly InputSlot<T3.Core.DataTypes.BufferWithViews> GPoints = new InputSlot<T3.Core.DataTypes.BufferWithViews>();
[Input(Guid = "68ebd395-5e00-4aeb-acfb-312899c4907c")]
public readonly InputSlot<float> PointSize = new InputSlot<float>();
[Input(Guid = "d72344f7-9862-47a1-ad25-135725430ca9", MappedType = typeof(ScaleFXModes))]
public readonly InputSlot<int> ScaleFactor = new InputSlot<int>();
[Input(Guid = "4ca3418c-9542-4158-8a72-ba14c9c199ee")]
public readonly InputSlot<bool> UsePointScale = new InputSlot<bool>();
[Input(Guid = "f5b4e08b-a49a-47ac-838d-577b621005b2")]
public readonly InputSlot<System.Numerics.Vector4> Color = new InputSlot<System.Numerics.Vector4>();
[Input(Guid = "9435c9b2-5237-4199-ac9c-93e9ddc5f8b3")]
public readonly InputSlot<bool> EnableZWrite = new InputSlot<bool>();
[Input(Guid = "2154f238-02d7-4635-aa26-17421352dca5")]
public readonly InputSlot<bool> EnableZTest = new InputSlot<bool>();
[Input(Guid = "bb8e9be9-1371-45fd-be67-93d183b1355e", MappedType = typeof(SharedEnums.BlendModes))]
public readonly InputSlot<int> BlendMode = new InputSlot<int>();
[Input(Guid = "247d1fed-9897-486b-bcf0-39e6c98ccbd1")]
public readonly InputSlot<float> FadeNearest = new InputSlot<float>();
[Input(Guid = "3472e004-210f-4cb7-aaab-dee0c5eab6eb")]
public readonly InputSlot<T3.Core.DataTypes.ShaderGraphNode> ColorField = new InputSlot<T3.Core.DataTypes.ShaderGraphNode>();
private enum ScaleFXModes
{
None = 0,
F1 = 1,
F2 = 2,
}
}