SOLVED Detect Keyboard in a Shader Dialog.

Hi All,

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 🙂
Renato T.

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.

Cheers, Riccardo

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.

Cheers, Riccardo

Hi Riccardo,

many thanks for the infos 🙂

Cheers
Renato