Unstable v0.1300.0.1
This commit is contained in:
186
Libraries/MonoGame.Framework/Src/.gitignore
vendored
186
Libraries/MonoGame.Framework/Src/.gitignore
vendored
@@ -1,93 +1,93 @@
|
||||
#OS junk files
|
||||
[Tt]humbs.db
|
||||
*.DS_Store
|
||||
|
||||
#Output Linux Installer
|
||||
Installers/Linux/tmp_deb/
|
||||
Installers/Linux/tmp_run/
|
||||
*.run
|
||||
*.deb
|
||||
|
||||
#Visual Studio files
|
||||
*.pidb
|
||||
*.userprefs
|
||||
*.[Oo]bj
|
||||
*.exe
|
||||
*.pdb
|
||||
*.user
|
||||
*.aps
|
||||
*.pch
|
||||
*.vspscc
|
||||
*.vssscc
|
||||
*_i.c
|
||||
*_p.c
|
||||
*.ncb
|
||||
*.suo
|
||||
*.tlb
|
||||
*.tlh
|
||||
*.bak
|
||||
*.[Cc]ache
|
||||
*.ilk
|
||||
*.log
|
||||
*.lib
|
||||
*.sbr
|
||||
*.sdf
|
||||
*.csproj.csdat
|
||||
ipch/
|
||||
obj/
|
||||
[Bb]in
|
||||
[Dd]ebug*/
|
||||
[Rr]elease*/
|
||||
Ankh.NoLoad
|
||||
.vs/
|
||||
project.lock.json
|
||||
/MonoGame.Framework/MonoGame.Framework.Net.WindowsUniversal.project.lock.json
|
||||
/MonoGame.Framework/MonoGame.Framework.WindowsUniversal.project.lock.json
|
||||
artifacts/
|
||||
|
||||
# JetBrains Rider
|
||||
.idea/
|
||||
|
||||
#Tooling
|
||||
_ReSharper*/
|
||||
*.resharper
|
||||
[Tt]est[Rr]esult*
|
||||
|
||||
#Visual Studio Rebracer extension, allows the user to automatically change the style configuration by project
|
||||
rebracer.xml
|
||||
|
||||
#Subversion files
|
||||
.svn
|
||||
|
||||
# Office Temp Files
|
||||
~$*
|
||||
|
||||
#monodroid private beta
|
||||
monodroid*.msi
|
||||
|
||||
#Unix temporary files
|
||||
*~
|
||||
|
||||
# Output docs
|
||||
Documentation/Output/
|
||||
|
||||
# Protobuild Generated Files
|
||||
*.speccache
|
||||
*.ncrunchproject
|
||||
*.ncrunchsolution
|
||||
|
||||
#Mac Package Files
|
||||
*.pkg
|
||||
*.mpack
|
||||
**/packages
|
||||
|
||||
#Nuget Packages
|
||||
**/*.nupkg
|
||||
|
||||
#Zip files
|
||||
*.zip
|
||||
|
||||
Installers/MacOS/Scripts/Framework/postinstall
|
||||
IDE/MonoDevelop/MonoDevelop.MonoGame/templates/Common/MonoGame.Framework.dll.config
|
||||
|
||||
ThirdParty/*
|
||||
#OS junk files
|
||||
[Tt]humbs.db
|
||||
*.DS_Store
|
||||
|
||||
#Output Linux Installer
|
||||
Installers/Linux/tmp_deb/
|
||||
Installers/Linux/tmp_run/
|
||||
*.run
|
||||
*.deb
|
||||
|
||||
#Visual Studio files
|
||||
*.pidb
|
||||
*.userprefs
|
||||
*.[Oo]bj
|
||||
*.exe
|
||||
*.pdb
|
||||
*.user
|
||||
*.aps
|
||||
*.pch
|
||||
*.vspscc
|
||||
*.vssscc
|
||||
*_i.c
|
||||
*_p.c
|
||||
*.ncb
|
||||
*.suo
|
||||
*.tlb
|
||||
*.tlh
|
||||
*.bak
|
||||
*.[Cc]ache
|
||||
*.ilk
|
||||
*.log
|
||||
*.lib
|
||||
*.sbr
|
||||
*.sdf
|
||||
*.csproj.csdat
|
||||
ipch/
|
||||
obj/
|
||||
[Bb]in
|
||||
[Dd]ebug*/
|
||||
[Rr]elease*/
|
||||
Ankh.NoLoad
|
||||
.vs/
|
||||
project.lock.json
|
||||
/MonoGame.Framework/MonoGame.Framework.Net.WindowsUniversal.project.lock.json
|
||||
/MonoGame.Framework/MonoGame.Framework.WindowsUniversal.project.lock.json
|
||||
artifacts/
|
||||
|
||||
# JetBrains Rider
|
||||
.idea/
|
||||
|
||||
#Tooling
|
||||
_ReSharper*/
|
||||
*.resharper
|
||||
[Tt]est[Rr]esult*
|
||||
|
||||
#Visual Studio Rebracer extension, allows the user to automatically change the style configuration by project
|
||||
rebracer.xml
|
||||
|
||||
#Subversion files
|
||||
.svn
|
||||
|
||||
# Office Temp Files
|
||||
~$*
|
||||
|
||||
#monodroid private beta
|
||||
monodroid*.msi
|
||||
|
||||
#Unix temporary files
|
||||
*~
|
||||
|
||||
# Output docs
|
||||
Documentation/Output/
|
||||
|
||||
# Protobuild Generated Files
|
||||
*.speccache
|
||||
*.ncrunchproject
|
||||
*.ncrunchsolution
|
||||
|
||||
#Mac Package Files
|
||||
*.pkg
|
||||
*.mpack
|
||||
**/packages
|
||||
|
||||
#Nuget Packages
|
||||
**/*.nupkg
|
||||
|
||||
#Zip files
|
||||
*.zip
|
||||
|
||||
Installers/MacOS/Scripts/Framework/postinstall
|
||||
IDE/MonoDevelop/MonoDevelop.MonoGame/templates/Common/MonoGame.Framework.dll.config
|
||||
|
||||
ThirdParty/*
|
||||
|
||||
@@ -7,10 +7,23 @@ using System.Text;
|
||||
|
||||
namespace Microsoft.Xna.Framework.Graphics
|
||||
{
|
||||
public interface ISpriteBatch
|
||||
{
|
||||
public void Draw(Texture2D texture,
|
||||
Vector2 position,
|
||||
Rectangle? sourceRectangle,
|
||||
Color color,
|
||||
float rotation,
|
||||
Vector2 origin,
|
||||
Vector2 scale,
|
||||
SpriteEffects effects,
|
||||
float layerDepth);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Helper class for drawing text strings and sprites in one or more optimized batches.
|
||||
/// </summary>
|
||||
public class SpriteBatch : GraphicsResource
|
||||
public class SpriteBatch : GraphicsResource, ISpriteBatch
|
||||
{
|
||||
#region Private Fields
|
||||
readonly SpriteBatcher _batcher;
|
||||
|
||||
Reference in New Issue
Block a user