Announcement

Collapse
No announcement yet.

Getting/Setting the boolean UI parameter "Enable build-in frame buffer"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Getting/Setting the boolean UI parameter "Enable build-in frame buffer"

    How can I get and set the boolean UI parameter "Enable build-in frame buffer" as seen in the V-Ray render settings dialog using the SDK?

    Regards,
    Ralf Reichl

  • #2
    Code:
    #include "vrenderinterface.h"
    
    Renderer *renderer=GetCOREInterface()->GetProductionRenderer();
    if (renderer) {
    	Class_ID classID=renderer->ClassID();
    	if (VRENDER_CLASS_ID==classID) {
    		IParamBlock2 *pblockOutput=renderer->GetParamBlockByID(vrender_outputsettings);
    		int useVFB=pblockOutput->GetInt(pb_output_enable);
    		// ....
    	}
    }
    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      This is working perfect.

      Thanks a lot.

      Best regards,
      Ralf Reichl

      Comment

      Working...
      X