Skip to main content
Version: 20 Mar 2024

PluginEventData

Data to be passed down to the native plugin for a rendering event.

Public Methods

PluginEventData

public PluginEventData(
ulong rendererHandle,
RenderTexture renderBuffer
)

Parameters

TypeNameDescription
ulongrendererHandle
RenderTexturerenderBuffer

Public Attributes

ColorSpace

Color space to render the native buffer in.


public ColorSpace ColorSpace;


Height

Height of the Unity texture


public int Height;


RendererHandle

Handle of the YcbcrRenderer instance received from a MLYcbcrRendererCreate() call.


public ulong RendererHandle;


TextureHandle

Native pointer of the Unity texture to render the android native buffer on.


public IntPtr TextureHandle;


Width

Width of the Unity texture


public int Width;