docs.unity3d.com
    Show / Hide Table of Contents

    Class RawWriteOperation

    Explicit implementation for writing a serialized file that can be used with the upcoming raw loading systems.

    Inheritance
    Object
    RawWriteOperation
    Namespace: UnityEditor.Build.Pipeline.WriteTypes
    Syntax
    [Serializable]
    [Obsolete("RawWriteOperation obsolete and no longer maintained.")]
    public class RawWriteOperation : IWriteOperation

    Properties

    Command

    The specific write command containing the details about what to write to disk. WriteCommand

    Declaration
    public WriteCommand Command { get; set; }
    Property Value
    Type Description
    WriteCommand
    Implements
    IWriteOperation.Command

    DependencyHash

    The hash that represents the unique set of input dependencies for caching this write command.

    Declaration
    public Hash128 DependencyHash { get; set; }
    Property Value
    Type Description
    Hash128
    Implements
    IWriteOperation.DependencyHash

    ReferenceMap

    The specific reference data for objects in the write command. BuildReferenceMap

    Declaration
    public BuildReferenceMap ReferenceMap { get; set; }
    Property Value
    Type Description
    BuildReferenceMap
    Implements
    IWriteOperation.ReferenceMap

    UsageSet

    The specific usage data for objects in the write command. BuildUsageTagSet

    Declaration
    public BuildUsageTagSet UsageSet { get; set; }
    Property Value
    Type Description
    BuildUsageTagSet
    Implements
    IWriteOperation.UsageSet

    Methods

    GetHash128()

    Optimized hash function for use with the Build Cache system.

    Declaration
    public Hash128 GetHash128()
    Returns
    Type Description
    Hash128

    Unique hash for the contents of this write operation.

    Implements
    IWriteOperation.GetHash128()

    GetHash128(IBuildLogger)

    Optimized hash function for use with the Build Cache system.

    Declaration
    public Hash128 GetHash128(IBuildLogger log)
    Parameters
    Type Name Description
    IBuildLogger log

    The build log.

    Returns
    Type Description
    Hash128

    Unique hash for the contents of this write operation.

    Implements
    IWriteOperation.GetHash128(IBuildLogger)

    Write(String, BuildSettings, BuildUsageTagGlobal)

    Write function that wraps the low level WriteSerializeFile APIs that takes the common minimum set of parameters.

    Declaration
    public WriteResult Write(string outputFolder, BuildSettings settings, BuildUsageTagGlobal globalUsage)
    Parameters
    Type Name Description
    String outputFolder

    The location to write data to disk.

    BuildSettings settings

    The build settings to use for writing data.

    BuildUsageTagGlobal globalUsage

    The global usage to use for writing data.

    Returns
    Type Description
    WriteResult

    The write results struct containing details about what was written to disk

    Implements
    IWriteOperation.Write(String, BuildSettings, BuildUsageTagGlobal)
    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