Struct GlobalGPUResidentDrawerSettings
User-facing settings for GPU Resident Drawer draw submission settings.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Assembly: Unity.RenderPipelines.HighDefinition.Runtime.dll
Syntax
[Serializable]
public struct GlobalGPUResidentDrawerSettings
Fields
enableOcclusionCullingInCameras
Enables occlusion culling in cameras
Declaration
public bool enableOcclusionCullingInCameras
Field Value
Type | Description |
---|---|
bool |
mode
batching mode of macro batcher.
Declaration
public GPUResidentDrawerMode mode
Field Value
Type | Description |
---|---|
GPUResidentDrawerMode |
smallMeshScreenPercentage
Default minimum screen percentage (0-20%) gpu-driven Renderers can cover before getting culled.
Declaration
public float smallMeshScreenPercentage
Field Value
Type | Description |
---|---|
float |
useDepthPrepassForOccluders
Uses the depth prepass for occluders
Declaration
public bool useDepthPrepassForOccluders
Field Value
Type | Description |
---|---|
bool |
Methods
NewDefault()
Default GlobalImprovedDrawSubmissionSettings
Declaration
public static GlobalGPUResidentDrawerSettings NewDefault()
Returns
Type | Description |
---|---|
GlobalGPUResidentDrawerSettings | Default value for GlobalImprovedDrawSubmissionSettings |