Access TextureTarget in SceneCaptureComponent2D
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: https://answers.unrealengine.com/questions/170194/how-to-cast-rendertarget-to-texture2d.html 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?
asked Nov 06 '17 at 09:56 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here