SceneCameraDebugMode TiledRenderingQuads

book_4_sparkGenerated
code_blocksInput

Description

The TiledRenderingQuads field is a member of the SceneCameraDebugMode enumeration in the Sandbox API. It represents a specific debug mode for the scene camera, focusing on tiled rendering lights. This mode is useful for visualizing how lights are rendered in a tiled manner, which can be beneficial for debugging lighting issues or optimizing rendering performance.

Usage

To use the TiledRenderingQuads debug mode, you can set the scene camera's debug mode to this value. This will change the camera's rendering to display the tiled rendering lights, allowing you to analyze and debug the lighting setup in your scene.

Example

// Example of setting the scene camera debug mode to TiledRenderingQuads
SceneCamera.DebugMode = SceneCameraDebugMode.TiledRenderingQuads;