docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BatchLayer

    Predefined batch layer values used by the GPU Resident Drawer.

    Inheritance
    object
    BatchLayer
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)