How do I get renderData for a custom window inside the window callback? I had this working in V340, but can't figure out how to do it for V4.3.
Can I query the renderData for the window? Is there a PDK service that makes this available.
This is what I used to do in V3.4
//Attach Render Effect
m_pRenderEffect.Attach(new RenderEffect());
//Use the effect plugin interface to create the effect and register the callback
m_pEffectPlugin->CreateEffect(TEXT(EFFECT_NAME), m_pRenderEffect);
m_pRenderEffect->Enable(true);
//Add Post Process
m_windowPdk->AddPostProcess(EFFECT_NAME);
[RESOLVED] Create PDK Camera Window, then Capture the render buffer
-
- Posts: 36
- Joined: Tue Aug 04, 2015 7:51 pm
-
- Posts: 36
- Joined: Tue Aug 04, 2015 7:51 pm
Re: Create PDK Camera Window, then Capture the render buffer
Never Mind. I figured it out.
needed to add this line.
pWindow->GetCameraSystem()->AddPostProcess(EFFECT_NAME);
needed to add this line.
pWindow->GetCameraSystem()->AddPostProcess(EFFECT_NAME);