Class GLESAPI
- Namespace
- Uralstech.UXR.QuestCamera.GLES
Exposes the native GLES Texture Conversion API.
public static class GLESAPI
- Inheritance
-
objectGLESAPI
Fields
DisposeCallbacksRegistry
Registry of job disposal callbacks. This is a single-call registry, i.e. the entry is removed after the callback occurs.
public static readonly ConcurrentDictionary<uint, RenderJobDisposeData.Callback> DisposeCallbacksRegistry
Field Value
- ConcurrentDictionary<uint, RenderJobDisposeData.Callback>
RenderJobDisposeCallbackPtr
Static marshalled pointer to OnRenderJobDispose(bool, uint).
public static readonly nint RenderJobDisposeCallbackPtr
Field Value
- nint
RenderJobRunCallbackPtr
Static marshalled pointer to OnRenderJobRun(long, uint).
public static readonly nint RenderJobRunCallbackPtr
Field Value
- nint
RenderJobSetupCallbackPtr
Static marshalled pointer to OnRenderJobSetup(uint, uint).
public static readonly nint RenderJobSetupCallbackPtr
Field Value
- nint
RunCallbacksRegistry
Registry of job run callbacks.
public static readonly ConcurrentDictionary<uint, RenderJobRunData.Callback> RunCallbacksRegistry
Field Value
- ConcurrentDictionary<uint, RenderJobRunData.Callback>
SetupCallbacksRegistry
Registry of job setup callbacks. This is a single-call registry, i.e. the entry is removed after the callback occurs.
public static readonly ConcurrentDictionary<uint, RenderJobSetupData.Callback> SetupCallbacksRegistry
Field Value
- ConcurrentDictionary<uint, RenderJobSetupData.Callback>
Methods
OnRenderJobDispose(bool, uint)
Callback for when the job is disposed or the process fails.
public static void OnRenderJobDispose(bool result, uint renderTextureId)
Parameters
resultboolWhether the operation was a success or not.
renderTextureIduintRenderTextureId, for lookup.
OnRenderJobRun(long, uint)
Callback for when the job finishes rendering or the process fails.
public static void OnRenderJobRun(long timestamp, uint renderTextureId)
Parameters
timestamplongThe timestamp returned by the SurfaceTexture, or -1 if the operation failed.
renderTextureIduintRenderTextureId, for lookup.
OnRenderJobSetup(uint, uint)
Callback for when the job is setup or the process fails.
public static void OnRenderJobSetup(uint nativeTextureId, uint renderTextureId)
Parameters
nativeTextureIduintrenderTextureIduintRenderTextureId, for lookup.
getGLESManageConverterJobEvent()
Returns a pointer to the native render job management function.
public static extern nint getGLESManageConverterJobEvent()
Returns
- nint