Skip to main content
Version: 21 Aug 2024

MLGraphicsHooks

NameSpace: MagicLeap

Public Fields

OnPreBeginRenderFrame


public static OnPreBeginRenderFrameDelegate OnPreBeginRenderFrame { get; set; }


Public Methods

delegate void OnPreBeginRenderFrameDelegate

public delegate void OnPreBeginRenderFrameDelegate()

void RequestAlphaBlendFrameRendering

public static void RequestAlphaBlendFrameRendering(
bool useAlphaBlend
)

Parameters

TypeNameDescription
booluseAlphaBlend

void RequestPredictedSnapshots

public static void RequestPredictedSnapshots(
bool useSnapshots
)

Parameters

TypeNameDescription
booluseSnapshots

void Shutdown

public static void Shutdown()

Public Attributes

ClientHandle


public static ulong ClientHandle => NativeBindings.MLUnityGraphicsGetHandle();