NativeBindings
Inherits from:
MagicLeapNativeBindings
Public Methods
void ClearCallbacks
public static void ClearCallbacks()
void MLUnityGraphicsClearCallbacks
public void MLUnityGraphicsClearCallbacks()
ulong MLUnityGraphicsGetHandle
public ulong MLUnityGraphicsGetHandle()
void MLUnityGraphicsRegisterCallbacks
public void MLUnityGraphicsRegisterCallbacks(
ref MLUnityGraphicsCallbacks callbacks
)
Parameters
Type | Name | Description |
---|---|---|
ref MLUnityGraphicsCallbacks | callbacks |
delegate void OnBeginRenderFrameNativeDelegate
public delegate void OnBeginRenderFrameNativeDelegate(
IntPtr context,
long predictedDisplayTime
)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | context | |
long | predictedDisplayTime |
delegate void OnPreBeginRenderFrameNativeDelegate
public delegate void OnPreBeginRenderFrameNativeDelegate(
IntPtr context,
ref MLGraphicsFrameParamsEx frameParams
)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | context | |
ref MLGraphicsFrameParamsEx | frameParams |
Public Enums
EnvironmentBlendMode
Enumerator | Value | Description |
---|---|---|
Additive | 0 | |
AlphaBlend | 1 |
ProjectionType
Enumerator | Value | Description |
---|---|---|
SignedZ | 0 | |
ReversedInfiniteZ | 1 | |
UnsignedZ | 2 |