I’m trying to replicate what the SampleCsDrawGrayscale code does, but am having no luck. The e.Display.DisplayPipelineAttributes.ObjectColor = new_color line doesn’t seem to do anything for me.
I know this question has been posted years ago here. The bugtracker indicates that the issue is solved, but I’ve still had no luck with getting the code to work.