This repository has been archived by the owner on Jan 4, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0128721
commit 81b3e99
Showing
16 changed files
with
508 additions
and
507 deletions.
There are no files selected for viewing
482 changes: 241 additions & 241 deletions
482
MonoGame/MonoGame.Framework/Graphics/Effect/EffectHelpers.cs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
// MonoGame - Copyright (C) The MonoGame Team | ||
// This file is subject to the terms and conditions defined in | ||
// file 'LICENSE.txt', which is part of this source code package. | ||
|
||
namespace Microsoft.Xna.Framework.Graphics | ||
{ | ||
/// <summary> | ||
/// Defines a culling mode for faces in rasterization process. | ||
/// </summary> | ||
public enum CullMode | ||
{ | ||
/// <summary> | ||
/// Do not cull faces. | ||
/// </summary> | ||
None, | ||
/// <summary> | ||
/// Cull faces with clockwise order. | ||
/// </summary> | ||
CullClockwiseFace, | ||
/// <summary> | ||
/// Cull faces with counter clockwise order. | ||
/// </summary> | ||
CullCounterClockwiseFace | ||
} | ||
} | ||
// // MonoGame - Copyright (C) The MonoGame Team | ||
// // This file is subject to the terms and conditions defined in | ||
// // file 'LICENSE.txt', which is part of this source code package. | ||
// | ||
// namespace Microsoft.Xna.Framework.Graphics | ||
// { | ||
// /// <summary> | ||
// /// Defines a culling mode for faces in rasterization process. | ||
// /// </summary> | ||
// public enum CullMode | ||
// { | ||
// /// <summary> | ||
// /// Do not cull faces. | ||
// /// </summary> | ||
// None, | ||
// /// <summary> | ||
// /// Cull faces with clockwise order. | ||
// /// </summary> | ||
// CullClockwiseFace, | ||
// /// <summary> | ||
// /// Cull faces with counter clockwise order. | ||
// /// </summary> | ||
// CullCounterClockwiseFace | ||
// } | ||
// } |
58 changes: 29 additions & 29 deletions
58
MonoGame/MonoGame.Framework/Graphics/States/DepthFormat.cs
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 |
---|---|---|
@@ -1,29 +1,29 @@ | ||
// MonoGame - Copyright (C) The MonoGame Team | ||
// This file is subject to the terms and conditions defined in | ||
// file 'LICENSE.txt', which is part of this source code package. | ||
|
||
namespace Microsoft.Xna.Framework.Graphics | ||
{ | ||
/// <summary> | ||
/// Defines formats for depth-stencil buffer. | ||
/// </summary> | ||
public enum DepthFormat | ||
{ | ||
/// <summary> | ||
/// Depth-stencil buffer will not be created. | ||
/// </summary> | ||
None, | ||
/// <summary> | ||
/// 16-bit depth buffer. | ||
/// </summary> | ||
Depth16, | ||
/// <summary> | ||
/// 24-bit depth buffer. Equivalent of <see cref="DepthFormat.Depth24Stencil8"/> for DirectX platforms. | ||
/// </summary> | ||
Depth24, | ||
/// <summary> | ||
/// 32-bit depth-stencil buffer. Where 24-bit depth and 8-bit for stencil used. | ||
/// </summary> | ||
Depth24Stencil8 | ||
} | ||
} | ||
// // MonoGame - Copyright (C) The MonoGame Team | ||
// // This file is subject to the terms and conditions defined in | ||
// // file 'LICENSE.txt', which is part of this source code package. | ||
// | ||
// namespace Microsoft.Xna.Framework.Graphics | ||
// { | ||
// /// <summary> | ||
// /// Defines formats for depth-stencil buffer. | ||
// /// </summary> | ||
// public enum DepthFormat | ||
// { | ||
// /// <summary> | ||
// /// Depth-stencil buffer will not be created. | ||
// /// </summary> | ||
// None, | ||
// /// <summary> | ||
// /// 16-bit depth buffer. | ||
// /// </summary> | ||
// Depth16, | ||
// /// <summary> | ||
// /// 24-bit depth buffer. Equivalent of <see cref="DepthFormat.Depth24Stencil8"/> for DirectX platforms. | ||
// /// </summary> | ||
// Depth24, | ||
// /// <summary> | ||
// /// 32-bit depth-stencil buffer. Where 24-bit depth and 8-bit for stencil used. | ||
// /// </summary> | ||
// Depth24Stencil8 | ||
// } | ||
// } |
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 |
---|---|---|
@@ -1,21 +1,21 @@ | ||
// MonoGame - Copyright (C) The MonoGame Team | ||
// This file is subject to the terms and conditions defined in | ||
// file 'LICENSE.txt', which is part of this source code package. | ||
|
||
namespace Microsoft.Xna.Framework.Graphics | ||
{ | ||
/// <summary> | ||
/// Defines options for filling the primitive. | ||
/// </summary> | ||
public enum FillMode | ||
{ | ||
/// <summary> | ||
/// Draw solid faces for each primitive. | ||
/// </summary> | ||
Solid, | ||
/// <summary> | ||
/// Draw lines for each primitive. | ||
/// </summary> | ||
WireFrame | ||
} | ||
} | ||
// // MonoGame - Copyright (C) The MonoGame Team | ||
// // This file is subject to the terms and conditions defined in | ||
// // file 'LICENSE.txt', which is part of this source code package. | ||
// | ||
// namespace Microsoft.Xna.Framework.Graphics | ||
// { | ||
// /// <summary> | ||
// /// Defines options for filling the primitive. | ||
// /// </summary> | ||
// public enum FillMode | ||
// { | ||
// /// <summary> | ||
// /// Draw solid faces for each primitive. | ||
// /// </summary> | ||
// Solid, | ||
// /// <summary> | ||
// /// Draw lines for each primitive. | ||
// /// </summary> | ||
// WireFrame | ||
// } | ||
// } |
Oops, something went wrong.