Class MutableRuntimeReferenceImageLibrary
A reference image library that can be constructed and modified at runtime.
Inheritance
MutableRuntimeReferenceImageLibrary
Assembly: solution.dll
Syntax
public abstract class MutableRuntimeReferenceImageLibrary : RuntimeReferenceImageLibrary, IReferenceImageLibrary
Properties
Methods
Name |
Description |
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).
|
GetAddReferenceImageJobStatus(AddReferenceImageJobState)
|
Get the status of an AddReferenceImageJobState.
|
GetEnumerator()
|
Gets an enumerator for this collection of reference images. This allows this image library to act as a collection in a foreach statement.
The MutableRuntimeReferenceImageLibrary.Enumerator is a struct , so no garbage is generated.
|
GetSupportedTextureFormatAt(int)
|
Returns the supported texture format at index . Useful for enumerating the supported texture formats for image addition.
|
GetSupportedTextureFormatAtImpl(int)
|
Derived methods should return the TextureFormat at the given index .
index has already been validated to be within [0..supportedTextureFormatCount].
|
IsTextureFormatSupported(TextureFormat)
|
Determines whether the given format is supported.
|
ScheduleAddImageJob(NativeSlice<byte>, Vector2Int, TextureFormat, XRReferenceImage, JobHandle)
|
Asynchronously adds an image to this library.
|
ScheduleAddImageJobImpl(NativeSlice<byte>, Vector2Int, TextureFormat, XRReferenceImage, JobHandle)
|
This method should schedule a Unity Job which adds an image to this reference image
library.
|
ScheduleAddImageWithValidationJob(NativeSlice<byte>, Vector2Int, TextureFormat, XRReferenceImage, JobHandle)
|
Asynchronously adds an image to this library.
|
ScheduleAddImageWithValidationJobImpl(NativeSlice<byte>, Vector2Int, TextureFormat, XRReferenceImage, JobHandle)
|
This method should schedule a Unity Job which adds an image to this reference image
library.
|
See Also