예제 #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();
        }
예제 #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();
        }
예제 #3
0
 internal unsafe void __MarshalFree(ref __Native @ref)
 {
     @ref.__MarshalFree();
 }
예제 #4
0
 internal void __MarshalFree(ref __Native @ref)
 {
     @ref.__MarshalFree();
 }
예제 #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();
        }
예제 #6
0
파일: EffectFile.cs 프로젝트: Nezz/SharpDX
        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();
        }