A bit of RTFM here:Lax wrote: Tue Feb 23, 2021 1:48 pm @dark_sylinc: Would It be possible, that you add the '&' reference? It will not harm the pbs implementation and make it possible to use meta listeners!
the return value is the new location of passBufferPtr. Thus doing:
Code: Select all
while( itor != end )
{
passBuffPtr = itor->preparePassBuffer( shadowNode, casterPass, dualParaboloid,sceneManager, passBufferPtr );
++itor;
}
return passBuffPtr;