docs.unity3d.com
    Show / Hide Table of Contents

    Load CameraBuffer

    Menu Path : Operator > Sampling > Load CameraBuffer

    The Load CameraBuffer Operator allows you to read a CameraBuffer texel value for specified coordinates. This Operator returns the float4 texel value without any filtering.

    This translates to a Load call on the Texture in High-Level Shading Language (HLSL).

    Operator properties

    Input Type Description
    CameraBuffer CameraBuffer The CameraBuffer to read from.
    X uint The X coordinate of the texel to read.
    Y uint The Y coordinate of the texel to read.
    Output Type Description
    s Vector4 The value of the texel.

    Limitations

    This is a GPU only Operator and therefore does not work when plugged into Spawn Context ports.

    In This Article
    • Operator properties
    • Limitations
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023