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
Determine
Declaration
public NativeArray<ConfigurationDescriptor> GetConfigurationDescriptors(Allocator allocator)
Parameters
Type | Name | Description |
---|---|---|
Allocator | allocator | The allocator to use for the returned NativeArray. |
Returns
Type | Description |
---|---|
Native |
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 |