Exemplo n.º 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();
        }
Exemplo n.º 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();
        }
Exemplo n.º 3
0
 internal unsafe void __MarshalFree(ref __Native @ref)
 {
     @ref.__MarshalFree();
 }
Exemplo n.º 4
0
 internal void __MarshalFree(ref __Native @ref)
 {
     @ref.__MarshalFree();
 }
Exemplo n.º 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();
        }
Exemplo n.º 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();
        }