docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ResourceLimiterBuilder

    Provides methods to build a ResourceLimiter instance.

    Inheritance
    object
    ResourceLimiterBuilder
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Cloud.DataStreaming.Runtime
    Assembly: solution.dll
    Syntax
    public class ResourceLimiterBuilder
    Remarks

    Use ConfigureDefaultResourceLimiter(Action<ResourceLimiterBuilder>) to create an instance of this builder.

    Methods

    SetMaxTexelCount(long)

    Sets the max texel count to maxTexelCount.

    Declaration
    public ResourceLimiterBuilder SetMaxTexelCount(long maxTexelCount)
    Parameters
    Type Name Description
    long maxTexelCount

    The maximum texel budget.

    Returns
    Type Description
    ResourceLimiterBuilder

    this.

    SetMaxVertexCount(long)

    Sets the max vertex count to maxVertexCount.

    Declaration
    public ResourceLimiterBuilder SetMaxVertexCount(long maxVertexCount)
    Parameters
    Type Name Description
    long maxVertexCount

    The maximum vertex budget.

    Returns
    Type Description
    ResourceLimiterBuilder

    this.

    In This Article
    Back to top
    Copyright © 2024 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)