BNTX : Add support for D32_FLOAT_S8X24_UINT
This commit is contained in:
parent
39d2307cd3
commit
7e38484a3e
@ -1123,6 +1123,7 @@ namespace FirstPlugin
|
||||
TEX_FORMAT.BC6H_SF16,
|
||||
TEX_FORMAT.BC7_UNORM,
|
||||
TEX_FORMAT.BC7_UNORM_SRGB,
|
||||
TEX_FORMAT.D32_FLOAT_S8X24_UINT,
|
||||
TEX_FORMAT.B5G5R5A1_UNORM,
|
||||
TEX_FORMAT.B5G6R5_UNORM,
|
||||
TEX_FORMAT.B8G8R8A8_UNORM_SRGB,
|
||||
@ -1244,7 +1245,7 @@ namespace FirstPlugin
|
||||
case TEX_FORMAT.R8_UNORM: return SurfaceFormat.R8_UNORM;
|
||||
case TEX_FORMAT.R8G8_UNORM: return SurfaceFormat.R8_G8_UNORM;
|
||||
case TEX_FORMAT.R8G8_SNORM: return SurfaceFormat.R8_G8_SNORM;
|
||||
case TEX_FORMAT.R32G8X24_FLOAT: return SurfaceFormat.R32_G8_X24_FLOAT;
|
||||
case TEX_FORMAT.D32_FLOAT_S8X24_UINT: return SurfaceFormat.D32_FLOAT_S8X24_UINT;
|
||||
case TEX_FORMAT.B8G8R8X8_UNORM: return SurfaceFormat.B8_G8_R8_A8_UNORM; //Todo
|
||||
case TEX_FORMAT.ETC1_UNORM: return SurfaceFormat.ETC1_UNORM;
|
||||
case TEX_FORMAT.ETC1_SRGB: return SurfaceFormat.ETC1_SRGB;
|
||||
@ -1322,7 +1323,7 @@ namespace FirstPlugin
|
||||
case SurfaceFormat.R8_G8_SNORM: return TEX_FORMAT.R8G8_SNORM;
|
||||
case SurfaceFormat.ETC1_UNORM: return TEX_FORMAT.ETC1_UNORM;
|
||||
case SurfaceFormat.ETC1_SRGB: return TEX_FORMAT.ETC1_SRGB;
|
||||
case SurfaceFormat.R32_G8_X24_FLOAT: return TEX_FORMAT.R32G8X24_FLOAT;
|
||||
case SurfaceFormat.D32_FLOAT_S8X24_UINT: return TEX_FORMAT.D32_FLOAT_S8X24_UINT;
|
||||
case SurfaceFormat.ASTC_10x10_SRGB: return TEX_FORMAT.ASTC_10x10_SRGB;
|
||||
case SurfaceFormat.ASTC_10x10_UNORM: return TEX_FORMAT.ASTC_10x10_UNORM;
|
||||
case SurfaceFormat.ASTC_10x5_SRGB: return TEX_FORMAT.ASTC_10x5_SRGB;
|
||||
|
@ -53,6 +53,8 @@ namespace FirstPlugin
|
||||
// if (format != SurfaceFormat.Invalid)
|
||||
}
|
||||
|
||||
|
||||
formatComboBox.Items.Add(SurfaceFormat.D32_FLOAT_S8X24_UINT);
|
||||
formatComboBox.Items.Add(SurfaceFormat.A1_B5_G5_R5_UNORM);
|
||||
formatComboBox.Items.Add(SurfaceFormat.A4_B4_G4_R4_UNORM);
|
||||
formatComboBox.Items.Add(SurfaceFormat.B5_G5_R5_A1_UNORM);
|
||||
|
Binary file not shown.
Binary file not shown.
@ -2451,5 +2451,33 @@
|
||||
Represents the desired tiling modes for a surface.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:System.Security.Cryptography.Crc32">
|
||||
<summary>
|
||||
Computes a CRC32 checksum.
|
||||
</summary>
|
||||
<remarks>Based on <see cref="!:http://sanity-free.org/12/crc32_implementation_in_csharp.html"/></remarks>
|
||||
</member>
|
||||
<member name="M:System.Security.Cryptography.Crc32.Compute(System.String)">
|
||||
<summary>
|
||||
Compute the checksum of a UTF8 text.
|
||||
</summary>
|
||||
<param name="text">Text to calculate</param>
|
||||
<returns>Checksum</returns>
|
||||
</member>
|
||||
<member name="M:System.Security.Cryptography.Crc32.Compute(System.String,System.Text.Encoding)">
|
||||
<summary>
|
||||
Compute the checksum of a text using a specific encoding.
|
||||
</summary>
|
||||
<param name="text">Text to calculate</param>
|
||||
<param name="encoding">Text encoding</param>
|
||||
<returns>Checksum</returns>
|
||||
</member>
|
||||
<member name="M:System.Security.Cryptography.Crc32.Compute(System.Byte[])">
|
||||
<summary>
|
||||
Compute the checksum of a binary buffer.
|
||||
</summary>
|
||||
<param name="bytes">Buffer to calculate</param>
|
||||
<returns></returns>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
|
Loading…
x
Reference in New Issue
Block a user