Struct GPUResidentDrawerSettings
Utility struct to pass GPU resident drawer settings together
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.GPUDriven.Runtime.dll
Syntax
public struct GPUResidentDrawerSettings
Fields
allowInEditMode
Allows the GPU Resident Drawer to run in edit mode
Declaration
public bool allowInEditMode
Field Value
Type | Description |
---|---|
bool |
enableOcclusionCulling
Enable GPU data for occlusion culling
Declaration
public bool enableOcclusionCulling
Field Value
Type | Description |
---|---|
bool |
errorShader
Shader used when an error is detected
Declaration
public Shader errorShader
Field Value
Type | Description |
---|---|
Shader |
loadingShader
Shader used while compiling shaders
Declaration
public Shader loadingShader
Field Value
Type | Description |
---|---|
Shader |
mode
Serialized settings of GPUResidentDrawer
Declaration
public GPUResidentDrawerMode mode
Field Value
Type | Description |
---|---|
GPUResidentDrawerMode |
pickingShader
Shader used if no custom picking pass has been implemented
Declaration
public Shader pickingShader
Field Value
Type | Description |
---|---|
Shader |
smallMeshScreenPercentage
Default minimum screen percentage (0-20%) gpu-driven Renderers can cover before getting culled.
Declaration
public float smallMeshScreenPercentage
Field Value
Type | Description |
---|---|
float |
supportDitheringCrossFade
Does the implementor support dithered crossfade
Declaration
public bool supportDitheringCrossFade
Field Value
Type | Description |
---|---|
bool |