Class ComputeDebugUtils | Barracuda | 1.0.4
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on 20 October 2020