1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-21 20:10:05 +00:00

Updated Texconv (markdown)

Chuck Walbourn 2021-06-09 18:34:01 -07:00
parent 266e88b743
commit 6d6fbf28e3

@ -43,7 +43,7 @@ The file-name parameter indicates the file(s) to convert using ``dds``, ``tga``,
**-m _number_**: Number of mipmap levels to generate in the output texture. This setting only applies to DDS output, which defaults to 0 which is generate all mipmaps. Use ``-m 1`` to remove mipmaps.
**-f _format_**: Output format. Specify the DXGI format without the ``DXGI_FORMAT_`` prefix (i.e. ``-f R10G10B10A2_UNORM``). It also supports some common aliases (``-f DXT1`` for ``DXGI_FORMAT_BC1_UNORM``, ``-f DXT5`` for ``DXGI_FORMAT_BC3_UNORM``, ``-f BGRA`` for ``DXGI_FORMAT_B8G8R8A8_UNORM``, ``-f FP16`` for ``DXGI_FORMAT_R16G16B16A16_FLOAT``, etc.)
**-f _format_**: Output format. Specify the DXGI format without the ``DXGI_FORMAT_`` prefix (i.e. ``-f R10G10B10A2_UNORM``). It also supports some common aliases (``-f DXT1`` for ``DXGI_FORMAT_BC1_UNORM``, ``-f DXT5`` for ``DXGI_FORMAT_BC3_UNORM``, ``-f BGRA`` for ``DXGI_FORMAT_B8G8R8A8_UNORM``, ``-f BGR`` for ``DXGI_FORMAT_B8G8R8X8_UNORM``, ``-f FP16`` for ``DXGI_FORMAT_R16G16B16A16_FLOAT``, etc.)
**-if _filter_**: Image filter used for resizing the images. Use one of the following: ``POINT``, ``LINEAR``, ``CUBIC``, ``FANT``, ``BOX``, ``TRIANGLE``, ``POINT_DITHER``, ``LINEAR_DITHER``, ``CUBIC_DITHER``, ``FANT_DITHER``, ``BOX_DITHER``, ``TRIANGLE_DITHER``, ``POINT_DITHER_DIFFUSION``, ``LINEAR_DITHER_DIFFUSION``, ``CUBIC_DITHER_DIFFUSION``, ``FANT_DITHER_DIFFUSION``, ``BOX_DITHER_DIFFUSION``, or ``TRIANGLE_DITHER_DIFFUSION``. Filters with ``DITHER`` in their name indicate that the 4x4 ordered dither algorithm, while ``DITHER_DIFFUSION`` is error diffusion dithering.