diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffectProperty.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffectProperty.cs new file mode 100644 index 00000000..de30340b --- /dev/null +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1PixelShaderEffectProperty.cs @@ -0,0 +1,19 @@ +namespace ComputeSharp.D2D1.Interop; + +/// +/// A container for indices of properties from the type. +/// The values in this type can be used to easily set and retrieve properties from effect instances. +/// +public static class D2D1PixelShaderEffectProperty +{ + /// + /// The index for the constant buffer property of a object. + /// + /// + /// The value to set for this property can be retrieved with . + /// The value of this property is of type D2D1_PROPERTY_TYPE_BLOB. + /// This value can be passed when calling ID2D1Effect::GetValue. + /// For more info, see . + /// + public const uint ConstantBuffer = 0; +}