docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct OccluderParameters

    Parameters structure for passing to GPUResidentDrawer.UpdateInstanceOccluders.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.GPUDriven.Runtime.dll
    Syntax
    public struct OccluderParameters

    Constructors

    OccluderParameters(int)

    Creates a new structure using the given parameters.

    Declaration
    public OccluderParameters(int viewInstanceID)
    Parameters
    Type Name Description
    int viewInstanceID

    The instance ID of the camera to associate with these occluders.

    Fields

    depthIsArray

    True if the depth texture is a texture array, false otherwise.

    Declaration
    public bool depthIsArray
    Field Value
    Type Description
    bool

    depthSize

    The size in pixels of the area of the depth data to read.

    Declaration
    public Vector2Int depthSize
    Field Value
    Type Description
    Vector2Int

    depthTexture

    The depth texture to read.

    Declaration
    public TextureHandle depthTexture
    Field Value
    Type Description
    TextureHandle

    subviewCount

    The total number of subviews for this occluder.

    Declaration
    public int subviewCount
    Field Value
    Type Description
    int

    viewInstanceID

    The instance ID of the camera, used to identify these occluders for the occlusion test.

    Declaration
    public int viewInstanceID
    Field Value
    Type Description
    int

    Extension Methods

    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)