Class BatchLayer
Predefined batch layer values used by the GPU Resident Drawer.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.GPUDriven.Runtime.dll
Syntax
public class BatchLayer
Fields
InstanceCullingDirect
Batch layer for BatchRendererGroup direct draw commands produced by the GPU Resident Drawer.
Declaration
public const byte InstanceCullingDirect = 29
Field Value
Type | Description |
---|---|
byte |
InstanceCullingDirectMask
A batch layer mask to include BatchRendererGroup direct draw commands produced by the GPU Resident Drawer. Batch layer masks can be used to filter the set of draw calls in a renderer list.
Declaration
public const uint InstanceCullingDirectMask = 536870912
Field Value
Type | Description |
---|---|
uint |
InstanceCullingIndirect
Batch layer for BatchRendererGroup indirect draw commands produced by the GPU Resident Drawer.
Declaration
public const byte InstanceCullingIndirect = 28
Field Value
Type | Description |
---|---|
byte |
InstanceCullingIndirectMask
A batch layer mask to include BatchRendererGroup indirect draw commands produced by the GPU Resident Drawer. Batch layer masks can be used to filter the set of draw calls in a renderer list.
Declaration
public const uint InstanceCullingIndirectMask = 268435456
Field Value
Type | Description |
---|---|
uint |
InstanceCullingMask
A batch layer mask to include BatchRendererGroup direct and indirect draw commands produced by the GPU Resident Drawer. Batch layer masks can be used to filter the set of draw calls in a renderer list.
Declaration
public const uint InstanceCullingMask = 805306368
Field Value
Type | Description |
---|---|
uint |