VRay SDK for C++
Loading...
Searching...
No Matches
VRay::VRayInit Class Reference

#include <vraysdk.hpp>

Public Member Functions

 VRayInit (bool enableFrameBuffer)
 
void setGUIMessageProcessing (bool enableMessageProcessing)
 
void setOSMessageDispatching (bool enableMessageDispatching)
 

Detailed Description

This class should be used when linking VRaySDKLibrary at compile time (with VRaySDKLibrary.lib on Windows or -lVRaySDKLibrary on Linux/Mac) An instance of it should exist for the whole lifetime of the application.

Constructor & Destructor Documentation

◆ VRayInit()

VRay::VRayInit::VRayInit ( bool  enableFrameBuffer)
inlineexplicit
Parameters
enableFrameBufferEnable or disable frame buffer globally

Member Function Documentation

◆ setGUIMessageProcessing()

void VRay::VRayInit::setGUIMessageProcessing ( bool  enableMessageProcessing)
inline

Call this before operating with a renderer to enable or disable GUI message processing during internal waits

Parameters
enableMessageProcessingTrue to enable and false to disable the GUI message processing. Note that the message processing is enabled by default.

◆ setOSMessageDispatching()

void VRay::VRayInit::setOSMessageDispatching ( bool  enableMessageDispatching)
inline

Call this before operating with a renderer to enable or disable the additional OS message dispatching during internal waits of the renderer. Currently this affects only the Windows implementation.

Parameters
enableMessageDispatchingTrue to enable and false to disable the OS message dispatching. Note that the message dispatching is enabled by default.

The documentation for this class was generated from the following file: