Class ComputeDebugUtils | Barracuda | 1.1.2-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class ComputeDebugUtils

    Inheritance
    Object
    ComputeDebugUtils
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Barracuda
    Syntax
    public class ComputeDebugUtils

    Fields

    breakOnAssertion

    DEBUG ONLY: if ComputeDebugUtils.debugKernels is true and debugger is attached, debugger will break when a kernel assertion is catch.

    Declaration
    public static bool breakOnAssertion
    Field Value
    Type Description
    Boolean

    debugKernels

    DEBUG ONLY: debugKernels allow to track out of bound read/write and assertion in kernels. When set to true be sure to define KERNEL_ASSERTS or FORCE_DEBUG in the particular kernel(s) you want to debug (see in DebugUtils.cginc). Production code should not set this to 'true' as this will significantly degrade performances.

    Declaration
    public static bool debugKernels
    Field Value
    Type Description
    Boolean

    Methods

    PrepareDispatch()

    Declaration
    public static void PrepareDispatch()

    VerifyDispatch(String)

    Declaration
    public static void VerifyDispatch(string kernelName)
    Parameters
    Type Name Description
    String kernelName
    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