GetDirty and GetHDirty for animated shaders

On 16/11/2017 at 02:42, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R18 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hello.

I understand that you call GetDirty on an object in case you want to check if this object has been changed (Matrix, Data, Cache, e.t.c). But what does GetHDirty do ?

I have an Xbitmap shader that renders animated textures (tex_001, tex_002, tex_003, e.t.c.)
I have set this sequence in Animation tab of Shader (via Movie Start Frame and Movie End Frame).

Right now, I have added a checkbox (Animated Shaders) in my MaterialData plugin that once enabled, 
I retransfer the whole material in the render engine every time the frame has been changed in the scene.
Can I know specifically which shader needs to be retransfered using GetDirty or GetHDirty ?

Thank you for your time.