mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-09 22:40:06 +00:00
Updated Texconv (markdown)
parent
0ed2efab07
commit
5a7c873424
16
Texconv.md
16
Texconv.md
@ -24,7 +24,7 @@ texconv [-r] [-flist <filename>]
|
||||
[-wicq number] [-wiclossless] [-wicmulti]
|
||||
[-nologo] [-timing]
|
||||
[-singleproc] [-gpu number | -nogpu] [-aw number]
|
||||
[-bcuniform] [-bcmax | -bcquick] [-bcdither]
|
||||
[-bc flags]
|
||||
[-c colorkey] [-rotatecolor rot] [-nits number] [-tonemap]
|
||||
[-x2bias] [-inverty]
|
||||
<file-name(s)>
|
||||
@ -127,19 +127,17 @@ The file-name parameter indicates the file(s) to convert using ``dds``, ``tga``,
|
||||
|
||||
**-singleproc**: If the DirectXTex library and the texconv utility are built with OpenMP enabled, by default the tool will use multi-threading for CPU-based compression of BC6H and BC7 formats to spread the compression work across multiple cores. This flag disables this behavior forcing it to remain on a single core.
|
||||
|
||||
**-gpu** _adapterIndex_: When compressing BC6H / BC7 content, texconv will use DirectCompute on the GPU at the given index if available. The default is 0 which is the default adapter.
|
||||
**-gpu _adapterIndex_**: When compressing BC6H / BC7 content, texconv will use DirectCompute on the GPU at the given index if available. The default is 0 which is the default adapter.
|
||||
|
||||
**-nogpu**: When compressing BC6H / BC7 content, texconv will use DirectCompute on the GPU if available. Use of this flag forces texconv to always use the software codec instead.
|
||||
|
||||
**-aw _number_**: Provides an alpha weighting to use with the error metric for the BC7 GPU compressor. Defaults to 1.0.
|
||||
|
||||
**-bcuniform** Uses uniform weighting rather than perceptual (BC1-BC3)
|
||||
|
||||
**-bcmax** Uses maximum compression (BC7: enables mode 0 & 2 usage)
|
||||
|
||||
**-bcquick** Uses minimal compression (BC7: uses just mode 6)
|
||||
|
||||
**-bcdither** Uses dithering (BC1-BC3)
|
||||
**-bc _flags_**: Sets options for BC compression. The flags is a combination of one or more of the following:
|
||||
* **u**: to use uniform weighting rather than perceptual (BC1-BC3)
|
||||
* **d**: use dithering (BC1-BC3)
|
||||
* **q**: Uses minimal compression (BC7: uses just mode 6)
|
||||
* **x**: Uses maximum compression (BC7: enables mode 0 & 2 usage)
|
||||
|
||||
**-c _color_**: Provides a colorkey/[chromakey](https://en.wikipedia.org/wiki/Chroma_key) value which is used to replace a specific RGB color in hexadecimal (within a tolerance) with alpha 0.0. Any existing color channel is overwritten. For example, ``-c 0000FF`` for a blue colorkey, ``-c 00FF00`` for a green colorkey, ``-c 0CFF5D`` for the typical 'green-screen' in a video.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user