C API Unity API
C API Reference (Version 10.15.3)

Detailed Description

Render configuration data structure.

Public Attributes

VuRenderVBBackendType vbRenderBackend
 Choice of video background rendering configuration. More...
 
VuVideoBackgroundViewportMode vbViewportMode
 Configure the video background viewport mode. More...
 

Member Data Documentation

◆ vbRenderBackend

VuRenderVBBackendType vbRenderBackend

Choice of video background rendering configuration.

Default value is VU_RENDER_VB_BACKEND_DEFAULT

◆ vbViewportMode

Configure the video background viewport mode.

Note
The video background viewport mode can be changed after Engine creation by calling vuRenderControllerSetVideoBackgroundViewportMode.
This setting will only be applied if Engine can setup default render view information on Engine creation, otherwise Engine will continue to use the default value. You can use vuRenderControllerGetRenderViewConfig after Engine creation to determine if a default render view configuration was set. To ensure cross-platform that your desired VuVideoBackgroundViewportMode is applied use vuRenderControllerSetVideoBackgroundViewportMode after Engine creation. See vuRenderControllerSetRenderViewConfig for more details.
Default value is VU_VIDEOBG_VIEWPORT_MODE_SCALE_TO_FILL