docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor DrawObjectsPass

    DrawObjectsPass(string, ShaderTagId[], bool, RenderPassEvent, RenderQueueRange, LayerMask, StencilState, int)

    Creates a new DrawObjectsPass instance.

    Declaration
    public DrawObjectsPass(string profilerTag, ShaderTagId[] shaderTagIds, bool opaque, RenderPassEvent evt, RenderQueueRange renderQueueRange, LayerMask layerMask, StencilState stencilState, int stencilReference)
    Parameters
    Type Name Description
    string profilerTag

    The profiler tag used with the pass.

    ShaderTagId[] shaderTagIds
    bool opaque

    Marks whether the objects are opaque or transparent.

    RenderPassEvent evt

    The RenderPassEvent to use.

    RenderQueueRange renderQueueRange

    The RenderQueueRange to use for creating filtering settings that control what objects get rendered.

    LayerMask layerMask

    The layer mask to use for creating filtering settings that control what objects get rendered.

    StencilState stencilState

    The stencil settings to use with this poss.

    int stencilReference

    The stencil reference value to use with this pass.

    See Also
    ShaderTagId
    RenderPassEvent
    RenderQueueRange
    LayerMask
    StencilState

    DrawObjectsPass(string, bool, RenderPassEvent, RenderQueueRange, LayerMask, StencilState, int)

    Creates a new DrawObjectsPass instance.

    Declaration
    public DrawObjectsPass(string profilerTag, bool opaque, RenderPassEvent evt, RenderQueueRange renderQueueRange, LayerMask layerMask, StencilState stencilState, int stencilReference)
    Parameters
    Type Name Description
    string profilerTag

    The profiler tag used with the pass.

    bool opaque

    Marks whether the objects are opaque or transparent.

    RenderPassEvent evt

    The RenderPassEvent to use.

    RenderQueueRange renderQueueRange

    The RenderQueueRange to use for creating filtering settings that control what objects get rendered.

    LayerMask layerMask

    The layer mask to use for creating filtering settings that control what objects get rendered.

    StencilState stencilState

    The stencil settings to use with this poss.

    int stencilReference

    The stencil reference value to use with this pass.

    See Also
    RenderPassEvent
    RenderQueueRange
    LayerMask
    StencilState
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)