docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AccelerationStructureOptions

    Options used to configure the creation of a IRayTracingAccelStruct.

    Inheritance
    object
    AccelerationStructureOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.UnifiedRayTracing
    Assembly: Unity.UnifiedRayTracing.Runtime.dll
    Syntax
    public class AccelerationStructureOptions

    Fields

    buildFlags

    Option for the quality of the built IRayTracingAccelStruct.

    Declaration
    public BuildFlags buildFlags
    Field Value
    Type Description
    BuildFlags

    useCPUBuild

    Enables building the acceleration structure on the CPU instead of the GPU. Enabling this option combined with the use of the PreferFastBuild flag provides the best possible ray tracing performance.

    Declaration
    public bool useCPUBuild
    Field Value
    Type Description
    bool
    Remarks

    This field works only in the Unity Editor, not at runtime.

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)