#include <CeresEngine/Texture/Compression/BC.hpp>
◆ operator()() [1/2]
Compresses the texture using DXT.
- Parameters
-
| in | The input (uncompressed) texture |
| out | The output (compressed) texture |
| extent | The texture extents |
| highQuality | If true will compress using two passes. |
◆ operator()() [2/2]
Compresses the texture using DXT.
- Parameters
-
| in | The input (uncompressed) texture |
| extent | The texture extents |
| highQuality | If true will compress using two passes. |
- Returns
- The compressed texture
◆ size() [1/2]
Estimates the amount of bytes required in the out buffer when compressing an texture with inputSize bytes.
- Parameters
-
| inputSize | The uncompressed texture size |
- Returns
- The amount of bytes used by the compressed texture
◆ size() [2/2]
Estimates the amount of bytes required in the out buffer when compressing an texture with the given extent.
- Parameters
-
- Returns
- The amount of bytes used by the compressed texture
The documentation for this struct was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Texture/Compression/BC.hpp