When I'd like to use cmdBeginDebugMarker with DirectX11 renderer the error occured. I found out that this error was just small bug in DirectX11 renderer functions where instead of
pCmd->pRenderer->mD3D11.pUserDefinedAnnotation->EndEvent();
there was a
pCmd->pRenderer->pUserDefinedAnnotation->EndEvent(); call.
So the error was because pUserDefinedAnnotation is not a part of Renderer itself but the part of pRenderer->mD3D11 struct
When I'd like to use cmdBeginDebugMarker with DirectX11 renderer the error occured. I found out that this error was just small bug in DirectX11 renderer functions where instead of
pCmd->pRenderer->mD3D11.pUserDefinedAnnotation->EndEvent();
there was apCmd->pRenderer->pUserDefinedAnnotation->EndEvent();
call.So the error was because pUserDefinedAnnotation is not a part of Renderer itself but the part of pRenderer->mD3D11 struct