On 28/10/2014 at 12:26, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 13+
Platform: Windows ;
Language(s) : C++ ;
---------
how can I get the GPU buffer pointer, so I can update it directly from my CUDA renderer, instead of copying GPU->CPU->GPU
what I see from VPInvertImage example, it updates the rgba buffer line by line:
rgba->GetLine(x1, y, cnt, buffer, 32, true);
...
rgba->SetLine(x1, y, cnt, buffer, 32, true);
if I can't access the GPU buffer, is there a way to create another OpenGL frame buffer and update to it? "any SDK example to look at would be appreciated"