Method GetTextureDescriptors
GetTextureDescriptors(Allocator)
Gets the XRTextureDescriptors associated with the current frame. The caller owns the returned
NativeArray and is responsible for calling Dispose on it.
Declaration
public NativeArray<XRTextureDescriptor> GetTextureDescriptors(Allocator allocator)
Parameters
| Type | Name | Description |
|---|---|---|
| Allocator | allocator | The allocator to use when creating the returned |
Returns
| Type | Description |
|---|---|
| NativeArray<XRTextureDescriptor> | An array of texture descriptors. |