i need to detect a key pressed while i'm inside my custom shader gui.
I also need to know if is possible to press a custom bitmap button (in the shader description) and prevent that the shader get dirty and prevent the refresh of this shader/material.
Thanks in advance and Merry Christmas to all
HI Renato, thanks for reaching out us.
With regard to the first part of the question, you can indeed implement the iCustomGUI::Message() to intercept keyboard interaction and act accordingly.
With regard to the second part about avoiding the increase of the dirty counter on pressing a custom bitmap button, I don't think it's actually possible.
many thanks for the infos