Skip to main content
Version: 12 Dec 2024

NativeImageSourceUnsafeUtility

NameSpace: Android

Public Methods

bool TryGetYUVDataAssumeLocked

public static bool TryGetYUVDataAssumeLocked(
this NativeImage self,
out NativeYUVPlanes outYuvPlanes
)

Parameters

TypeNameDescription
this NativeImageself
out NativeYUVPlanesoutYuvPlanes

bool TryLockData

public static bool TryLockData(
this NativeImage self
)

Parameters

TypeNameDescription
this NativeImageself

bool TryUnlockData

public static bool TryUnlockData(
this NativeImage self
)

Parameters

TypeNameDescription
this NativeImageself

JobHandle TryUnlockDataAsync

public static JobHandle TryUnlockDataAsync(
this NativeImage self,
JobHandle dependency
)

Parameters

TypeNameDescription
this NativeImageself
JobHandledependency