Home | History | Annotate | Download | only in d3dapi
      1 /**************************************************************************
      2  *
      3  * Copyright 2010 Luca Barbieri
      4  *
      5  * Permission is hereby granted, free of charge, to any person obtaining
      6  * a copy of this software and associated documentation files (the
      7  * "Software"), to deal in the Software without restriction, including
      8  * without limitation the rights to use, copy, modify, merge, publish,
      9  * distribute, sublicense, and/or sell copies of the Software, and to
     10  * permit persons to whom the Software is furnished to do so, subject to
     11  * the following conditions:
     12  *
     13  * The above copyright notice and this permission notice (including the
     14  * next paragraph) shall be included in all copies or substantial
     15  * portions of the Software.
     16  *
     17  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
     18  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
     19  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
     20  * IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
     21  * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
     22  * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
     23  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
     24  *
     25  **************************************************************************/
     26 
     27 typedef enum DXGI_FORMAT {
     28 	DXGI_FORMAT_UNKNOWN,
     29 	DXGI_FORMAT_R32G32B32A32_TYPELESS,
     30 	DXGI_FORMAT_R32G32B32A32_FLOAT,
     31 	DXGI_FORMAT_R32G32B32A32_UINT,
     32 	DXGI_FORMAT_R32G32B32A32_SINT,
     33 	DXGI_FORMAT_R32G32B32_TYPELESS,
     34 	DXGI_FORMAT_R32G32B32_FLOAT,
     35 	DXGI_FORMAT_R32G32B32_UINT,
     36 	DXGI_FORMAT_R32G32B32_SINT,
     37 	DXGI_FORMAT_R16G16B16A16_TYPELESS,
     38 	DXGI_FORMAT_R16G16B16A16_FLOAT,
     39 	DXGI_FORMAT_R16G16B16A16_UNORM,
     40 	DXGI_FORMAT_R16G16B16A16_UINT,
     41 	DXGI_FORMAT_R16G16B16A16_SNORM,
     42 	DXGI_FORMAT_R16G16B16A16_SINT,
     43 	DXGI_FORMAT_R32G32_TYPELESS,
     44 	DXGI_FORMAT_R32G32_FLOAT,
     45 	DXGI_FORMAT_R32G32_UINT,
     46 	DXGI_FORMAT_R32G32_SINT,
     47 	DXGI_FORMAT_R32G8X24_TYPELESS,
     48 	DXGI_FORMAT_D32_FLOAT_S8X24_UINT,
     49 	DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS,
     50 	DXGI_FORMAT_X32_TYPELESS_G8X24_UINT,
     51 	DXGI_FORMAT_R10G10B10A2_TYPELESS,
     52 	DXGI_FORMAT_R10G10B10A2_UNORM,
     53 	DXGI_FORMAT_R10G10B10A2_UINT,
     54 	DXGI_FORMAT_R11G11B10_FLOAT,
     55 	DXGI_FORMAT_R8G8B8A8_TYPELESS,
     56 	DXGI_FORMAT_R8G8B8A8_UNORM,
     57 	DXGI_FORMAT_R8G8B8A8_UNORM_SRGB,
     58 	DXGI_FORMAT_R8G8B8A8_UINT,
     59 	DXGI_FORMAT_R8G8B8A8_SNORM,
     60 	DXGI_FORMAT_R8G8B8A8_SINT,
     61 	DXGI_FORMAT_R16G16_TYPELESS,
     62 	DXGI_FORMAT_R16G16_FLOAT,
     63 	DXGI_FORMAT_R16G16_UNORM,
     64 	DXGI_FORMAT_R16G16_UINT,
     65 	DXGI_FORMAT_R16G16_SNORM,
     66 	DXGI_FORMAT_R16G16_SINT,
     67 	DXGI_FORMAT_R32_TYPELESS,
     68 	DXGI_FORMAT_D32_FLOAT,
     69 	DXGI_FORMAT_R32_FLOAT,
     70 	DXGI_FORMAT_R32_UINT,
     71 	DXGI_FORMAT_R32_SINT,
     72 	DXGI_FORMAT_R24G8_TYPELESS,
     73 	DXGI_FORMAT_D24_UNORM_S8_UINT,
     74 	DXGI_FORMAT_R24_UNORM_X8_TYPELESS,
     75 	DXGI_FORMAT_X24_TYPELESS_G8_UINT,
     76 	DXGI_FORMAT_R8G8_TYPELESS,
     77 	DXGI_FORMAT_R8G8_UNORM,
     78 	DXGI_FORMAT_R8G8_UINT,
     79 	DXGI_FORMAT_R8G8_SNORM,
     80 	DXGI_FORMAT_R8G8_SINT,
     81 	DXGI_FORMAT_R16_TYPELESS,
     82 	DXGI_FORMAT_R16_FLOAT,
     83 	DXGI_FORMAT_D16_UNORM,
     84 	DXGI_FORMAT_R16_UNORM,
     85 	DXGI_FORMAT_R16_UINT,
     86 	DXGI_FORMAT_R16_SNORM,
     87 	DXGI_FORMAT_R16_SINT,
     88 	DXGI_FORMAT_R8_TYPELESS,
     89 	DXGI_FORMAT_R8_UNORM,
     90 	DXGI_FORMAT_R8_UINT,
     91 	DXGI_FORMAT_R8_SNORM,
     92 	DXGI_FORMAT_R8_SINT,
     93 	DXGI_FORMAT_A8_UNORM,
     94 	DXGI_FORMAT_R1_UNORM,
     95 	DXGI_FORMAT_R9G9B9E5_SHAREDEXP,
     96 	DXGI_FORMAT_R8G8_B8G8_UNORM,
     97 	DXGI_FORMAT_G8R8_G8B8_UNORM,
     98 	DXGI_FORMAT_BC1_TYPELESS,
     99 	DXGI_FORMAT_BC1_UNORM,
    100 	DXGI_FORMAT_BC1_UNORM_SRGB,
    101 	DXGI_FORMAT_BC2_TYPELESS,
    102 	DXGI_FORMAT_BC2_UNORM,
    103 	DXGI_FORMAT_BC2_UNORM_SRGB,
    104 	DXGI_FORMAT_BC3_TYPELESS,
    105 	DXGI_FORMAT_BC3_UNORM,
    106 	DXGI_FORMAT_BC3_UNORM_SRGB,
    107 	DXGI_FORMAT_BC4_TYPELESS,
    108 	DXGI_FORMAT_BC4_UNORM,
    109 	DXGI_FORMAT_BC4_SNORM,
    110 	DXGI_FORMAT_BC5_TYPELESS,
    111 	DXGI_FORMAT_BC5_UNORM,
    112 	DXGI_FORMAT_BC5_SNORM,
    113 	DXGI_FORMAT_B5G6R5_UNORM,
    114 	DXGI_FORMAT_B5G5R5A1_UNORM,
    115 	DXGI_FORMAT_B8G8R8A8_UNORM,
    116 	DXGI_FORMAT_B8G8R8X8_UNORM,
    117 	DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM,
    118 	DXGI_FORMAT_B8G8R8A8_TYPELESS,
    119 	DXGI_FORMAT_B8G8R8A8_UNORM_SRGB,
    120 	DXGI_FORMAT_B8G8R8X8_TYPELESS,
    121 	DXGI_FORMAT_B8G8R8X8_UNORM_SRGB,
    122 	DXGI_FORMAT_BC6H_TYPELESS,
    123 	DXGI_FORMAT_BC6H_UF16,
    124 	DXGI_FORMAT_BC6H_SF16,
    125 	DXGI_FORMAT_BC7_TYPELESS,
    126 	DXGI_FORMAT_BC7_UNORM,
    127 	DXGI_FORMAT_BC7_UNORM_SRGB,
    128 	DXGI_FORMAT_FORCE_UINT = 0xffffffff
    129 } DXGI_FORMAT;
    130