quicktex/docs/reference/formats/s3tc.rst

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

98 lines
2.8 KiB
ReStructuredText
Raw Permalink Normal View History

2021-03-15 09:49:34 +00:00
s3tc module
===========
2021-03-21 08:46:17 +00:00
.. automodule:: quicktex.s3tc
2021-03-15 09:49:34 +00:00
bc1 module
----------
.. automodule:: quicktex.s3tc.bc1
2021-03-21 04:19:23 +00:00
2021-03-22 03:36:26 +00:00
.. autoclass:: BC1Encoder
2021-03-21 04:19:23 +00:00
.. automethod:: __init__
.. automethod:: set_level
.. autoproperty:: color_mode(self) -> ColorMode
.. autoproperty:: interpolator(self) -> quicktex.s3tc.interpolator.Interpolator
.. autoclass:: quicktex.s3tc.bc1::BC1Encoder.ColorMode
**Advanced API**
Additional properties are provided for finer-grained control over quality and performance
.. autoproperty:: error_mode(self) -> ErrorMode
.. autoproperty:: endpoint_mode(self) -> EndpointMode
.. autoproperty:: two_ls_passes(self) -> bool
.. autoproperty:: two_ep_passes(self) -> bool
.. autoproperty:: two_cf_passes(self) -> bool
.. autoproperty:: exhaustive(self) -> bool
.. autoproperty:: search_rounds(self) -> int
.. autoproperty:: orderings(self) -> tuple[int, int]
.. autoproperty:: power_iterations(self) -> int
.. autoattribute:: max_power_iterations
.. autoattribute:: min_power_iterations
.. autoclass:: quicktex.s3tc.bc1::BC1Encoder.EndpointMode
.. autoclass:: quicktex.s3tc.bc1::BC1Encoder.ErrorMode
2021-03-22 03:36:26 +00:00
.. autoclass:: BC1Decoder
2021-03-21 04:19:23 +00:00
.. automethod:: __init__
.. autoproperty:: interpolator(self) -> quicktex.s3tc.interpolator.Interpolator
.. autoproperty:: write_alpha(self) -> bool
bc3 module
----------
.. automodule:: quicktex.s3tc.bc3
2021-03-22 03:36:26 +00:00
.. autoclass:: BC3Encoder
2021-03-21 04:19:23 +00:00
.. automethod:: __init__
.. autoproperty:: bc1_encoder(self) -> quicktex.s3tc.bc1.BC1Encoder
.. autoproperty:: bc4_encoder(self) -> quicktex.s3tc.bc4.BC4Encoder
2021-03-22 03:36:26 +00:00
.. autoclass:: BC3Decoder
2021-03-21 04:19:23 +00:00
.. automethod:: __init__
.. autoproperty:: bc1_decoder(self) -> quicktex.s3tc.bc1.BC1Decoder
.. autoproperty:: bc4_decoder(self) -> quicktex.s3tc.bc4.BC4Decoder
bc4 module
----------
.. automodule:: quicktex.s3tc.bc4
2021-03-22 03:36:26 +00:00
.. autoclass:: BC4Encoder
2021-03-21 04:19:23 +00:00
.. automethod:: __init__
.. autoproperty:: channel(self) -> int
2021-03-22 03:36:26 +00:00
.. autoclass:: BC4Decoder
2021-03-21 04:19:23 +00:00
.. automethod:: __init__
.. autoproperty:: channel(self) -> int
bc5 module
----------
.. automodule:: quicktex.s3tc.bc5
2021-03-22 03:36:26 +00:00
.. autoclass:: BC5Encoder
2021-03-21 04:19:23 +00:00
.. automethod:: __init__
.. autoproperty:: bc4_encoders(self) -> tuple[quicktex.s3tc.bc4.BC4Encoder]
.. autoproperty:: channels(self) -> tuple[int, int]
2021-03-22 03:36:26 +00:00
.. autoclass:: BC5Decoder
2021-03-21 04:19:23 +00:00
.. automethod:: __init__
.. autoproperty:: bc4_decoders(self) -> tuple[quicktex.s3tc.bc4.BC4Decoder]
.. autoproperty:: channels(self) -> tuple[int, int]
interpolator module
-------------------
.. automodule:: quicktex.s3tc.interpolator
:members: