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 |