Delegate STCaptureSessionNative.NativeSetupCallbackType
- Namespace
- Uralstech.UXR.QuestCamera.SurfaceTextureCapture
Callback type for SetupNativeTexture events.
public delegate void STCaptureSessionNative.NativeSetupCallbackType(bool glIsClean, bool sessionCallSent, uint unityTextureId, uint textureId, bool idIsValid)
Parameters
glIsCleanboolWas the GL context successfully cleaned up in this call?
sessionCallSentboolWas the call to start the capture session sent to the Kotlin class?
unityTextureIduintThe unity texture associated with the event.
textureIduintThe native texture created by the call, may be invalid.
idIsValidboolIs
textureIda valid texture?