C# likes bitfields to have [Flags] annotations
This commit is contained in:
parent
0d070851dd
commit
7fe351db62
@ -359,6 +359,7 @@ namespace SDL2
|
|||||||
#region SDL_video.h
|
#region SDL_video.h
|
||||||
|
|
||||||
/* Actually, this is from SDL_blendmode.h */
|
/* Actually, this is from SDL_blendmode.h */
|
||||||
|
[Flags]
|
||||||
public enum SDL_BlendMode
|
public enum SDL_BlendMode
|
||||||
{
|
{
|
||||||
SDL_BLENDMODE_NONE = 0x00000000,
|
SDL_BLENDMODE_NONE = 0x00000000,
|
||||||
@ -413,6 +414,7 @@ namespace SDL2
|
|||||||
SDL_WINDOWEVENT_CLOSE,
|
SDL_WINDOWEVENT_CLOSE,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Flags]
|
||||||
public enum SDL_WindowFlags
|
public enum SDL_WindowFlags
|
||||||
{
|
{
|
||||||
SDL_WINDOW_FULLSCREEN = 0x00000001,
|
SDL_WINDOW_FULLSCREEN = 0x00000001,
|
||||||
@ -829,6 +831,7 @@ namespace SDL2
|
|||||||
|
|
||||||
#region SDL_render.h
|
#region SDL_render.h
|
||||||
|
|
||||||
|
[Flags]
|
||||||
public enum SDL_RendererFlags
|
public enum SDL_RendererFlags
|
||||||
{
|
{
|
||||||
SDL_RENDERER_SOFTWARE = 0x00000001,
|
SDL_RENDERER_SOFTWARE = 0x00000001,
|
||||||
@ -837,6 +840,7 @@ namespace SDL2
|
|||||||
SDL_RENDERER_TARGETTEXTURE = 0x00000008
|
SDL_RENDERER_TARGETTEXTURE = 0x00000008
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Flags]
|
||||||
public enum SDL_RendererFlip
|
public enum SDL_RendererFlip
|
||||||
{
|
{
|
||||||
SDL_FLIP_NONE = 0x00000000,
|
SDL_FLIP_NONE = 0x00000000,
|
||||||
@ -851,6 +855,7 @@ namespace SDL2
|
|||||||
SDL_TEXTUREACCESS_TARGET
|
SDL_TEXTUREACCESS_TARGET
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Flags]
|
||||||
public enum SDL_TextureModulate
|
public enum SDL_TextureModulate
|
||||||
{
|
{
|
||||||
SDL_TEXTUREMODULATE_NONE = 0x00000000,
|
SDL_TEXTUREMODULATE_NONE = 0x00000000,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user