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(); } }