Hi Everyone,
I'm trying to setup a live source to show the input of a bluefish card's sdia. In developer you can't seem to set it up because I dont have access to the output devices. And I went to try this in bluebox but the documentation for setting up an input source is pretty minimal. So far I've got:
xpBaseObject bo;
m_scene.GetObjectByName("Quad1", out bo);
xpMaterial mat;
bo.GetMaterial(0, out mat);
xpBaseShader bs;
mat.GetShader(0, out bs);
xpLiveSourceShader ls = (xpLiveSourceShader)bs;
ls.SetInputByIndex(0);
It gets to the live source shader okay but its width and height are 0 so that could be part of the problem. But I cant set those values.
Thanks in advance.