Method CreateAddJobState
CreateAddJobState(IntPtr, JobHandle)
Derived classes should call this to create an AddReferenceImageJobState to be returned by its implementation of ScheduleAddImageWithValidationJobImpl(NativeSlice<byte>, Vector2Int, TextureFormat, XRReferenceImage, JobHandle).
Declaration
protected AddReferenceImageJobState CreateAddJobState(IntPtr handle, JobHandle jobHandle)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | handle | A handle to the job state. This should be unique to this job state. |
JobHandle | jobHandle | The JobHandle associated with the add job state. |
Returns
Type | Description |
---|---|
AddReferenceImageJobState | Returns a new AddReferenceImageJobState that contains information about the state of an add image job. |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown if supportsValidation is true and
|