Version: 1.8
LanguageEnglish
  • C#

GRDContext

struct in UnityEngine.Rendering.GRD

/

Implemented in:UnityEngine.CoreModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Context information required for GPU occlusion culling.

This structure stores the attributes required to execute GPU occlusion culling.

Properties

cameraThe camera currently executing the GPU Occlusion Culling.
depthReadable and writable depth buffer used for GPU occlusion culling.
isBakeReflectionProbeSupport in the future.
isCameraRelativeSupport in the future.
passIndexDetermines which iteration of the GPU occlusion test pass to execute.
passTypeDetermine which pass to execute for GPU occlusion culling.
viewportHeightDetermine the viewport height for rendering.
viewportWidthDetermine the viewport width for rendering.
viewportXDetermine the starting position for rendering on the X-axis.
viewportYDetermine the starting position for rendering on the Y-axis.
wireframeSupport in the future.