/// <summary>Get the blend mode used for blit operations.</summary> /// <param name="surface">The surface to query.</param> /// <param name="blendMode">A pointer filled in with the current blend mode.</param> /// <returns>0 on success, or -1 if the surface is not valid.</returns> /// <remarks>SDL_SetSurfaceBlendMode()</remarks> public static int GetSurfaceBlendMode(global::SharpSDL.Surface surface, global::SharpSDL.BlendMode *blendMode) { var __arg0 = ReferenceEquals(surface, null) ? global::System.IntPtr.Zero : surface.__Instance; var __ret = __Internal.GetSurfaceBlendMode(__arg0, blendMode); return(__ret); }
internal static extern int GetSurfaceBlendMode(global::System.IntPtr surface, global::SharpSDL.BlendMode *blendMode);