Beispiel #1
0
        internal unsafe void __MarshalFree(ref __Native @ref)
        {
            if (Parameters != null && @ref.EffectParametersPointer != IntPtr.Zero)
            {
                Parameters.__MarshalFree(ref *((EffectParameters.__Native *)@ref.EffectParametersPointer));
            }

            @ref.__MarshalFree();
        }
Beispiel #2
0
        // Method to free native struct
        internal unsafe void __MarshalFree(ref __Native @ref)
        {
            if (Parameters != null && @ref.TypeSpecificParamPointer != IntPtr.Zero)
            {
                Parameters.MarshalFree(@ref.TypeSpecificParamPointer);
            }

            @ref.__MarshalFree();
        }
Beispiel #3
0
 internal unsafe void __MarshalFree(ref __Native @ref)
 {
     @ref.__MarshalFree();
 }
 internal void __MarshalFree(ref __Native @ref)
 {
     @ref.__MarshalFree();
 }
Beispiel #5
0
        // Method to free native struct
        internal unsafe void __MarshalFree(ref __Native @ref)
        {
            if (Parameters != null && @ref.TypeSpecificParamPointer != IntPtr.Zero)
                Parameters.MarshalFree(@ref.TypeSpecificParamPointer);

            @ref.__MarshalFree();
        }
Beispiel #6
0
        internal unsafe void __MarshalFree(ref __Native @ref)
        {
            // Free Parameters
            if (Parameters != null && @ref.EffectParametersPointer != IntPtr.Zero)
                Parameters.__MarshalFree(ref *((EffectParameters.__Native*)@ref.EffectParametersPointer));

            @ref.__MarshalFree();
        }