Discovered! More reading helped. Here is a sample to chuck out the names of the stages (where _pipeRes is the pipeline resource):
Code:
int stagecount = h3dGetResElemCount(_pipeRes, H3DPipeRes::StageElem);
for(int i=0; i<stagecount; ++i)
{
std::cout << "Stage: " << h3dGetResParamStr(_pipeRes, H3DPipeRes::StageElem, i, H3DPipeRes::StageNameStr) << std::endl;
}
Here is how to disable a stage:
Code:
int index = h3dFindResElem(_pipeRes, H3DPipeRes::StageElem, H3DPipeRes::StageNameStr, "Bloom");
if(index != -1)
{
h3dSetResParamI(_pipeRes, H3DPipeRes::StageElem, index, H3DPipeRes::StageActivationI, 0);
}