VRay SDK for C++
Loading...
Searching...
No Matches
VRay::RendererOptions Struct Reference

Combines various options required for the rendering process. More...

#include <vraysdk.hpp>

Public Types

enum  ThemeStyle {
  ThemeStyleAuto = 0 , ThemeStyleStandalone , ThemeStyle3dsMax , ThemeStyle3dsMaxQt ,
  ThemeStyleMaya
}
 Specifies the drawing style of the VFB widgets.
 

Public Member Functions

 RendererOptions (const RendererOptions &options)=default
 
 RendererOptions (RendererOptions &&options)=default
 
RendererOptionsoperator= (const RendererOptions &options)=default
 
RendererOptionsoperator= (RendererOptions &&options)=default
 
void swap (RendererOptions &options)
 

Public Attributes

union {
   struct {
      bool   allowInvalidCharactersInPluginNames: 1
 allow invalid characters in plugin names
 
      bool   dockFrameBuffer: 1
 dock V-Ray Frame Buffer window
 
      bool   enableFrameBuffer: 1
 true to enable the frame buffer
 
      bool   enableVfbPlugins: 1
 Allow the VFB to load plugins.
 
      bool   hideToSceneButton: 1
 hide Light Mix To Scene button
 
      bool   noRenderLicensePreCheck: 1
 if set appsdk will not check for render node license before rendering is started
 
      bool   previewRenderer: 1
 optimize the renderer for small preview purposes
 
      bool   showFrameBuffer: 1
 true to initially show the frame buffer
 
      bool   showVfbAddDenoiserREToSceneButton: 1
 show "Add Denoiser to the scene" button
 
      bool   showVfbAddLightMixREToSceneButton: 1
 show "Add LightMix to the scene" button
 
      bool   showVfbButtonCopyToHostFrameBuffer: 1
 show "Duplicate to host frame buffer" button
 
      bool   showVfbButtonDebugShading: 1
 show "IPR Debug Shading" button
 
      bool   showVfbButtonInteractiveStart: 1
 show "Start IPR" button
 
      bool   showVfbButtonIPRPause: 1
 show "Pause IPR" button
 
      bool   showVfbButtonIPRUpdate: 1
 show "Update IPR" button
 
      bool   showVfbButtonTestResolution: 1
 show "Test Resolution" button
 
      bool   useDefaultVfbTheme: 1
 enabled by default. If set to false the parent application theme is inherited
 
      bool   useVfbLog: 1
 use built-in VFB log
 
   } 
 
   int   flags
 
}; 
 
void * parentWindowHandle
 
std::string pluginLibraryPath
 [OPTIONAL] specifies additional, non-default plugin library paths to load vray_*.dll (libvray_*.so)
 
ThemeStyle vfbDrawStyle
 specifies VFB drawing style
 
std::string vfbLanguage
 [OPTIONAL] A language code string telling the VFB which builtin language to load (from VRay::Language)
 

Detailed Description

Combines various options required for the rendering process.

Member Data Documentation

◆ 

union { ... } VRay::RendererOptions::@19

The parent window for the VFB. Usually the main window of the host application. If Qt is used this is supposed to be a pointer to a valid QWidget instance.


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