docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Update

    Update(XRPass, CommandBuffer, bool)

    Update and bind shader constants used by the C++ builtin renderer given the XRPass. For better control of setting up builtin shader constants, see UpdateBuiltinShaderConstants and SetBuiltinShaderConstants which do the same logic but could take in custom projection and view matricies instead. This is required to maintain compatibility with legacy code and shaders.

    Declaration
    public static void Update(XRPass xrPass, CommandBuffer cmd, bool renderIntoTexture)
    Parameters
    Type Name Description
    XRPass xrPass
    CommandBuffer cmd
    bool renderIntoTexture
    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)