docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetConfigurationDescriptors

    GetConfigurationDescriptors(Allocator)

    Get the list of supported configuration descriptors. The session can have multiple, discrete modes of operation. A configuration represents the capabilities of a mode of operation, which can be a subset of the session's overal capabilities. That is, the session might support many features, but not all at the same time. This is used by DetermineConfiguration(Feature) to determine the best configuration given a set of requested features.

    Declaration
    public NativeArray<ConfigurationDescriptor> GetConfigurationDescriptors(Allocator allocator)
    Parameters
    Type Name Description
    Allocator allocator

    The allocator to use for the returned NativeArray.

    Returns
    Type Description
    NativeArray<ConfigurationDescriptor>

    Allocates a new NativeArray and populates it with descriptors describing the supported configurations. The caller owns the memory and is responsible for calling Dispose on the NativeArray.

    In This Article
    • GetConfigurationDescriptors(Allocator)
    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)