Esempio n. 1
0
        /// <summary>Set the blend mode used for blit operations.</summary>
/// <param name="surface">The surface to update.</param>
/// <param name="blendMode">::SDL_BlendMode to use for blit blending.</param>
/// <returns>0 on success, or -1 if the parameters are not valid.</returns>
/// <remarks>SDL_GetSurfaceBlendMode()</remarks>
        public static int SetSurfaceBlendMode(global::SharpSDL.Surface surface, global::SharpSDL.BlendMode blendMode)
        {
            var __arg0 = ReferenceEquals(surface, null) ? global::System.IntPtr.Zero : surface.__Instance;
            var __ret  = __Internal.SetSurfaceBlendMode(__arg0, blendMode);

            return(__ret);
        }
Esempio n. 2
0
 internal static extern int SetSurfaceBlendMode(global::System.IntPtr surface, global::SharpSDL.BlendMode blendMode);