docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Initialize

    Initialize(CommandBuffer, ComputeShader)

    Initialize XR textures. Must be called at least once.

    Declaration
    public static void Initialize(CommandBuffer cmd, ComputeShader clearR32_UIntShader)
    Parameters
    Type Name Description
    CommandBuffer cmd

    Command Buffer used to initialize textures.

    ComputeShader clearR32_UIntShader

    Compute shader used to intitialize unsigned integer textures.

    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)