public unsafe void Transmit(HLVR_Effect *effect) { HLVR_Timeline *timelinePtr = null; Interop.HLVR_Timeline_Create(&timelinePtr); for (int i = 0; i < _events.Count; i++) { _events[i].Generate(timelinePtr); } Interop.HLVR_Timeline_Transmit(timelinePtr, HLVR_Plugin.Ptr, effect); Interop.HLVR_Timeline_Destroy(timelinePtr); Debug.Assert(timelinePtr == null); }
public static extern unsafe int HLVR_Effect_GetInfo(HLVR_Effect *effect, ref HLVR_EffectInfo info);
public static extern unsafe int HLVR_Effect_Reset(HLVR_Effect *effect);
public static extern unsafe int HLVR_Effect_Pause(HLVR_Effect *effect);
public static extern unsafe void HLVR_Effect_Destroy(HLVR_Effect *effect);
public static extern unsafe int HLVR_Timeline_Transmit(HLVR_Timeline *timeline, HLVR_System *agent, HLVR_Effect *effect);