-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move all
PREFIX_*
constants that have more than 10 members to their…
… own class named PREFIX
- Loading branch information
1 parent
3ec6fc5
commit 194bc41
Showing
837 changed files
with
61,635 additions
and
54,461 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. | ||
|
||
// Ported from shared/dxgi.h in the Windows SDK for Windows 10.0.20348.0 | ||
// Original source is Copyright © Microsoft. All rights reserved. | ||
|
||
namespace TerraFX.Interop.DirectX | ||
{ | ||
public static partial class DXGI | ||
{ | ||
[NativeTypeName("#define DXGI_USAGE_SHADER_INPUT 0x00000010UL")] | ||
public const uint DXGI_USAGE_SHADER_INPUT = 0x00000010U; | ||
|
||
[NativeTypeName("#define DXGI_USAGE_RENDER_TARGET_OUTPUT 0x00000020UL")] | ||
public const uint DXGI_USAGE_RENDER_TARGET_OUTPUT = 0x00000020U; | ||
|
||
[NativeTypeName("#define DXGI_USAGE_BACK_BUFFER 0x00000040UL")] | ||
public const uint DXGI_USAGE_BACK_BUFFER = 0x00000040U; | ||
|
||
[NativeTypeName("#define DXGI_USAGE_SHARED 0x00000080UL")] | ||
public const uint DXGI_USAGE_SHARED = 0x00000080U; | ||
|
||
[NativeTypeName("#define DXGI_USAGE_READ_ONLY 0x00000100UL")] | ||
public const uint DXGI_USAGE_READ_ONLY = 0x00000100U; | ||
|
||
[NativeTypeName("#define DXGI_USAGE_DISCARD_ON_PRESENT 0x00000200UL")] | ||
public const uint DXGI_USAGE_DISCARD_ON_PRESENT = 0x00000200U; | ||
|
||
[NativeTypeName("#define DXGI_USAGE_UNORDERED_ACCESS 0x00000400UL")] | ||
public const uint DXGI_USAGE_UNORDERED_ACCESS = 0x00000400U; | ||
|
||
[NativeTypeName("#define DXGI_RESOURCE_PRIORITY_MINIMUM ( 0x28000000 )")] | ||
public const int DXGI_RESOURCE_PRIORITY_MINIMUM = (0x28000000); | ||
|
||
[NativeTypeName("#define DXGI_RESOURCE_PRIORITY_LOW ( 0x50000000 )")] | ||
public const int DXGI_RESOURCE_PRIORITY_LOW = (0x50000000); | ||
|
||
[NativeTypeName("#define DXGI_RESOURCE_PRIORITY_NORMAL ( 0x78000000 )")] | ||
public const int DXGI_RESOURCE_PRIORITY_NORMAL = (0x78000000); | ||
|
||
[NativeTypeName("#define DXGI_RESOURCE_PRIORITY_HIGH ( 0xa0000000 )")] | ||
public const uint DXGI_RESOURCE_PRIORITY_HIGH = (0xa0000000); | ||
|
||
[NativeTypeName("#define DXGI_RESOURCE_PRIORITY_MAXIMUM ( 0xc8000000 )")] | ||
public const uint DXGI_RESOURCE_PRIORITY_MAXIMUM = (0xc8000000); | ||
|
||
[NativeTypeName("#define DXGI_MAP_READ ( 1UL )")] | ||
public const uint DXGI_MAP_READ = (1U); | ||
|
||
[NativeTypeName("#define DXGI_MAP_WRITE ( 2UL )")] | ||
public const uint DXGI_MAP_WRITE = (2U); | ||
|
||
[NativeTypeName("#define DXGI_MAP_DISCARD ( 4UL )")] | ||
public const uint DXGI_MAP_DISCARD = (4U); | ||
|
||
[NativeTypeName("#define DXGI_ENUM_MODES_INTERLACED ( 1UL )")] | ||
public const uint DXGI_ENUM_MODES_INTERLACED = (1U); | ||
|
||
[NativeTypeName("#define DXGI_ENUM_MODES_SCALING ( 2UL )")] | ||
public const uint DXGI_ENUM_MODES_SCALING = (2U); | ||
|
||
[NativeTypeName("#define DXGI_MAX_SWAP_CHAIN_BUFFERS ( 16 )")] | ||
public const int DXGI_MAX_SWAP_CHAIN_BUFFERS = (16); | ||
|
||
[NativeTypeName("#define DXGI_PRESENT_TEST 0x00000001UL")] | ||
public const uint DXGI_PRESENT_TEST = 0x00000001U; | ||
|
||
[NativeTypeName("#define DXGI_PRESENT_DO_NOT_SEQUENCE 0x00000002UL")] | ||
public const uint DXGI_PRESENT_DO_NOT_SEQUENCE = 0x00000002U; | ||
|
||
[NativeTypeName("#define DXGI_PRESENT_RESTART 0x00000004UL")] | ||
public const uint DXGI_PRESENT_RESTART = 0x00000004U; | ||
|
||
[NativeTypeName("#define DXGI_PRESENT_DO_NOT_WAIT 0x00000008UL")] | ||
public const uint DXGI_PRESENT_DO_NOT_WAIT = 0x00000008U; | ||
|
||
[NativeTypeName("#define DXGI_PRESENT_STEREO_PREFER_RIGHT 0x00000010UL")] | ||
public const uint DXGI_PRESENT_STEREO_PREFER_RIGHT = 0x00000010U; | ||
|
||
[NativeTypeName("#define DXGI_PRESENT_STEREO_TEMPORARY_MONO 0x00000020UL")] | ||
public const uint DXGI_PRESENT_STEREO_TEMPORARY_MONO = 0x00000020U; | ||
|
||
[NativeTypeName("#define DXGI_PRESENT_RESTRICT_TO_OUTPUT 0x00000040UL")] | ||
public const uint DXGI_PRESENT_RESTRICT_TO_OUTPUT = 0x00000040U; | ||
|
||
[NativeTypeName("#define DXGI_PRESENT_USE_DURATION 0x00000100UL")] | ||
public const uint DXGI_PRESENT_USE_DURATION = 0x00000100U; | ||
|
||
[NativeTypeName("#define DXGI_PRESENT_ALLOW_TEARING 0x00000200UL")] | ||
public const uint DXGI_PRESENT_ALLOW_TEARING = 0x00000200U; | ||
|
||
[NativeTypeName("#define DXGI_MWA_NO_WINDOW_CHANGES ( 1 << 0 )")] | ||
public const int DXGI_MWA_NO_WINDOW_CHANGES = (1 << 0); | ||
|
||
[NativeTypeName("#define DXGI_MWA_NO_ALT_ENTER ( 1 << 1 )")] | ||
public const int DXGI_MWA_NO_ALT_ENTER = (1 << 1); | ||
|
||
[NativeTypeName("#define DXGI_MWA_NO_PRINT_SCREEN ( 1 << 2 )")] | ||
public const int DXGI_MWA_NO_PRINT_SCREEN = (1 << 2); | ||
|
||
[NativeTypeName("#define DXGI_MWA_VALID ( 0x7 )")] | ||
public const int DXGI_MWA_VALID = (0x7); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. | ||
|
||
// Ported from shared/dxgi1_3.h in the Windows SDK for Windows 10.0.20348.0 | ||
// Original source is Copyright © Microsoft. All rights reserved. | ||
|
||
namespace TerraFX.Interop.DirectX | ||
{ | ||
public static partial class DXGI | ||
{ | ||
[NativeTypeName("#define DXGI_CREATE_FACTORY_DEBUG 0x1")] | ||
public const int DXGI_CREATE_FACTORY_DEBUG = 0x1; | ||
} | ||
} |
Oops, something went wrong.