docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DispatchRays

    DispatchRays(RayTracingShader, string, uint, uint, uint, Camera)

    Wraps DispatchRays on a CommandBuffer.

    Declaration
    public void DispatchRays(RayTracingShader rayTracingShader, string rayGenName, uint width, uint height, uint depth, Camera camera)
    Parameters
    Type Name Description
    RayTracingShader rayTracingShader

    See CommandBuffer documentation

    string rayGenName

    See CommandBuffer documentation

    uint width

    See CommandBuffer documentation

    uint height

    See CommandBuffer documentation

    uint depth

    See CommandBuffer documentation

    Camera camera

    See CommandBuffer documentation

    Implements
    IComputeCommandBuffer.DispatchRays(RayTracingShader, string, uint, uint, uint, Camera)
    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)