Class VulkanContinuousCaptureSession.Proxy
- Namespace
- Uralstech.UXR.QuestCamera.Vulkan
Java proxy to handle native callbacks.
public sealed class VulkanContinuousCaptureSession.Proxy : CaptureSessionBase<VulkanContinuousCaptureSession.Proxy>.ProxyBase
- Inheritance
-
objectVulkanContinuousCaptureSession.Proxy
- Inherited Members
- Extension Methods
Remarks
All event callbacks will be on a Java thread, and are performance sensitive.
Constructors
Proxy()
public Proxy()
Methods
Invoke(string, nint)
public override nint Invoke(string methodName, nint javaArgs)
Parameters
methodNamestringjavaArgsnint
Returns
- nint
Events
OnFrameReady
Signals the Vulkan plugin that a frame is ready for conversion.
public event VulkanContinuousCaptureSession.OnFrameReadyCallback? OnFrameReady
Event Type
Remarks
AHardwareBuffer_acquire
has already been called on acquiredBufferPtr, and this method must release it either through native
plugin render events or releaseHardwareBuffer(nint).