docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetRayTracingMatrixParam

    SetRayTracingMatrixParam(RayTracingShader, string, Matrix4x4)

    Wraps SetRayTracingMatrixParam on a CommandBuffer.

    Declaration
    public void SetRayTracingMatrixParam(RayTracingShader rayTracingShader, string name, Matrix4x4 val)
    Parameters
    Type Name Description
    RayTracingShader rayTracingShader

    See CommandBuffer documentation

    string name

    See CommandBuffer documentation

    Matrix4x4 val

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetRayTracingMatrixParam(RayTracingShader, string, Matrix4x4)

    SetRayTracingMatrixParam(RayTracingShader, int, Matrix4x4)

    Wraps SetRayTracingMatrixParam on a CommandBuffer.

    Declaration
    public void SetRayTracingMatrixParam(RayTracingShader rayTracingShader, int nameID, Matrix4x4 val)
    Parameters
    Type Name Description
    RayTracingShader rayTracingShader

    See CommandBuffer documentation

    int nameID

    See CommandBuffer documentation

    Matrix4x4 val

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.SetRayTracingMatrixParam(RayTracingShader, int, Matrix4x4)
    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)