Beispiel #1
0
        public void Reset()
        {
            //CleanUp();

            m_context = new fxScriptContext();
            m_context.functionData = new byte[32 * 8];
        }
Beispiel #2
0
        public void Reset()
        {
            CleanUp();

            m_context = new fxScriptContext();
            m_context.functionData = new byte[32 * 8];

            m_finalizers = new List <Action>();
        }
Beispiel #3
0
 private void InvokeNativeInternal(ref fxScriptContext context)
 {
     unsafe
     {
         fixed(fxScriptContext *cxt = &context)
         {
             m_host.InvokeNative(new IntPtr(cxt));
         }
     }
 }
 public void InvokeNative(ref fxScriptContext context)
 {
     m_host.InvokeNative(context);
 }
Beispiel #5
0
 public void InvokeNative([MarshalAs(UnmanagedType.Struct)] ref fxScriptContext context)
 {
     m_realHost.InvokeNative(ref context);
 }
Beispiel #6
0
 public void InvokeNative(ref fxScriptContext context)
 {
     InvokeNativeInternal(ref context);
 }