I created a C++ class inheriting SceneCaptureComponent2D. I need to process the rendered texture using an external library (OpenCV). My questions: how do I read the TextureTarget and where should I put this processing routine (needs to be processed per frame).
What I’ve done so far:
I tried doing TargetTexture->ConstructTex2D… but I get this error (pointer to incomplete class type is not allowed).
For the per frame processing:
I overridden the TickComponent function and put the processing routine there. Is that correct?