namespace ComputeSharp.D2D1.Interop; /// /// A model representing a property binding for an effect. /// public unsafe readonly struct D2D1PropertyBinding { /// /// Creates a new instance with the specified parameters. /// /// The property name. /// A pointer to the property get function callback /// A pointer to the property set function callback internal D2D1PropertyBinding(string name, void* getFunction, void* setFunction) { PropertyName = name; GetFunction = getFunction; SetFunction = setFunction; } /// /// Gets the name of the property. /// public string PropertyName { get; } /// /// Gets the property get function (a ). /// public void* GetFunction { get; } /// /// Gets the property set function (a ). /// public void* SetFunction { get; } }