![]() |
SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
|
Functions | |
constexpr int8_t | red (ImageFormat format) |
constexpr int8_t | decompressedRed (ImageFormat format) |
constexpr int8_t | green (ImageFormat format) |
constexpr int8_t | decompressedGreen (ImageFormat format) |
constexpr int8_t | blue (ImageFormat format) |
constexpr int8_t | decompressedBlue (ImageFormat format) |
constexpr int8_t | alpha (ImageFormat format) |
constexpr int8_t | decompressedAlpha (ImageFormat format) |
constexpr uint8_t | bpp (ImageFormat format) |
constexpr ImageFormat | containerFormat (ImageFormat format) |
constexpr bool | large (ImageFormat format) |
constexpr bool | decimal (ImageFormat format) |
constexpr bool | compressed (ImageFormat format) |
constexpr bool | transparent (ImageFormat format) |
constexpr bool | opaque (ImageFormat format) |
constexpr uint32_t | getDataLength (ImageFormat format, uint16_t width, uint16_t height, uint16_t sliceCount=1) |
constexpr uint32_t | getDataLength (ImageFormat format, uint8_t mipCount, uint16_t frameCount, uint8_t faceCount, uint16_t width, uint16_t height, uint16_t sliceCount=1) |
constexpr bool | getDataPosition (uint32_t &offset, uint32_t &length, ImageFormat format, uint8_t mip, uint8_t mipCount, uint16_t frame, uint16_t frameCount, uint8_t face, uint8_t faceCount, uint16_t width, uint16_t height, uint16_t slice=0, uint16_t sliceCount=1) |
|
constexpr |
Definition at line 345 of file ImageFormats.h.
|
constexpr |
Definition at line 256 of file ImageFormats.h.
|
constexpr |
Definition at line 436 of file ImageFormats.h.
|
constexpr |
Definition at line 579 of file ImageFormats.h.
|
constexpr |
Definition at line 506 of file ImageFormats.h.
|
constexpr |
Definition at line 575 of file ImageFormats.h.
|
constexpr |
Definition at line 414 of file ImageFormats.h.
|
constexpr |
Definition at line 325 of file ImageFormats.h.
|
constexpr |
Definition at line 236 of file ImageFormats.h.
|
constexpr |
Definition at line 146 of file ImageFormats.h.
|
constexpr |
Definition at line 689 of file ImageFormats.h.
|
constexpr |
Definition at line 707 of file ImageFormats.h.
|
constexpr |
Definition at line 715 of file ImageFormats.h.
|
constexpr |
Definition at line 166 of file ImageFormats.h.
|
constexpr |
Definition at line 571 of file ImageFormats.h.
|
constexpr |
Definition at line 620 of file ImageFormats.h.
|
constexpr |
Definition at line 77 of file ImageFormats.h.
|
constexpr |
Definition at line 583 of file ImageFormats.h.