internal static void toggle(IntPtr thisPtr) { if (_toggleFunc == null) { _toggleFunc = (_toggle)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_RenderPassStateToken_toggle"), typeof(_toggle)); } _toggleFunc(thisPtr); }
internal static bool toggle(IntPtr thisPtr) { if (_toggleFunc == null) { _toggleFunc = (_toggle)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_PostEffect_toggle"), typeof(_toggle)); } return(_toggleFunc(thisPtr)); }
set => SetProperty(ref _toggle, value);