diff --git a/src/ComputeSharp.D2D1/Shaders/Interop/D2D1DrawInfoUpdateContext{T}.cs b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1DrawInfoUpdateContext{T}.cs new file mode 100644 index 00000000..f42dfeb5 --- /dev/null +++ b/src/ComputeSharp.D2D1/Shaders/Interop/D2D1DrawInfoUpdateContext{T}.cs @@ -0,0 +1,29 @@ +using System; + +namespace ComputeSharp.D2D1.Interop; + +/// +/// An object allowing to interact with the shader data from within a transform. +/// +/// The type of shader the transform will interact with. +public readonly ref struct D2D1DrawInfoUpdateContext + where T : unmanaged, ID2D1PixelShader +{ + /// + /// Retrieves the instance currently being used in the associated effect. + /// + /// The instance currently being used in the associated effect. + public T GetConstantBuffer() + { + throw new NotImplementedException(); + } + + /// + /// Updates the instance to be used in the associated effect. + /// + /// The instance to be used in the associated effect. + public void SetConstantBuffer(in T shader) + { + throw new NotImplementedException(); + } +} \ No newline at end of file