In my test, I found that the intercept of vkCmdBeginRenderPass by Hook_vkCmdBeginRenderPass in function [ ProcessDeviceEvent ] didn't work in Editor mode.
I also intercepted vkCreatInstance in function [ ProcessDeviceEvent ] and it didn't work.
However, if I intercept above APIs in function [ Hook_vkGetInstanceProcAddr ], everything works well.
I think I could say that interception in function [ Hook_vkGetInstanceProcAddr ] works definitely .
But when does interception in function [ ProcessDeviceEvent ] work?
In my test, I found that the intercept of vkCmdBeginRenderPass by Hook_vkCmdBeginRenderPass in function [ ProcessDeviceEvent ] didn't work in Editor mode.
I also intercepted vkCreatInstance in function [ ProcessDeviceEvent ] and it didn't work.
However, if I intercept above APIs in function [ Hook_vkGetInstanceProcAddr ], everything works well.
I think I could say that interception in function [ Hook_vkGetInstanceProcAddr ] works definitely . But when does interception in function [ ProcessDeviceEvent ] work?