docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct OccluderSubviewUpdate

    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 OccluderSubviewUpdate

    Constructors

    OccluderSubviewUpdate(int)

    Creates a new structure using the given parameters.

    Declaration
    public OccluderSubviewUpdate(int subviewIndex)
    Parameters
    Type Name Description
    int subviewIndex

    The index of the subview within this occluder.

    Fields

    depthOffset

    The offset in pixels to the start of the depth data to read.

    Declaration
    public Vector2Int depthOffset
    Field Value
    Type Description
    Vector2Int

    depthSliceIndex

    The slice index of the depth data to read.

    Declaration
    public int depthSliceIndex
    Field Value
    Type Description
    int

    gpuProjMatrix

    The GPU projection matrix when rendering the depth buffer.

    Declaration
    public Matrix4x4 gpuProjMatrix
    Field Value
    Type Description
    Matrix4x4

    invViewMatrix

    The transform from view space to world space when rendering the depth buffer.

    Declaration
    public Matrix4x4 invViewMatrix
    Field Value
    Type Description
    Matrix4x4

    subviewIndex

    The subview index within this camera or light, used to identify these occluders for the occlusion test.

    Declaration
    public int subviewIndex
    Field Value
    Type Description
    int

    viewMatrix

    The transform from world space to view space when rendering the depth buffer.

    Declaration
    public Matrix4x4 viewMatrix
    Field Value
    Type Description
    Matrix4x4

    viewOffsetWorldSpace

    An additional world space offset to apply when moving between world space and view space.

    Declaration
    public Vector3 viewOffsetWorldSpace
    Field Value
    Type Description
    Vector3

    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)