#include <kanzi/core/string/fixed_string.hpp>
#include <kanzi/core/cpp/optional.hpp>
#include <kanzi/core/legacy/kzs_types.hpp>
Namespaces | |
kanzi | |
Functions | |
KANZI_API unsigned int | kanzi::getBytesPerBlock (GraphicsFormat format) |
Returns number of bytes per block of the specified format. More... | |
KANZI_API bool | kanzi::isCompressed (GraphicsFormat format) |
Indicates whether format is compressed format or not. More... | |
KANZI_API GraphicsFormat | kanzi::getFallback (GraphicsFormat format) |
Returns an alternative format which is potentially more widely supported. More... | |
KANZI_API GraphicsFormat | kanzi::getCommon (GraphicsFormat format1, GraphicsFormat format2) |
Returns a common superset of two formats, or GraphicsFormatNone if formats cannot be combined. More... | |
KANZI_API GraphicsDataType | kanzi::getDataType (GraphicsFormat format) |
Returns data type of the format. More... | |
KANZI_API unsigned int | kanzi::getDataSizeBytes (int width, int height, GraphicsFormat format) |
Returns data size in bytes for image with specified dimensions and format. More... | |
KANZI_API bool | kanzi::hasColor (GraphicsFormat format) |
Indicates whether given format has one more more color channels. More... | |
KANZI_API bool | kanzi::hasAlpha (GraphicsFormat format) |
Indicates whether given format has alpha channel. More... | |
KANZI_API bool | kanzi::hasDepth (GraphicsFormat format) |
Indicates whether given format has depth channel. More... | |
KANZI_API bool | kanzi::hasStencil (GraphicsFormat format) |
Indicates whether given format has stencil channel. More... | |
KANZI_API unsigned int | kanzi::getByteCount (GraphicsDataType dataType) |
Return number of bytes per one element of data type. More... | |
KANZI_API bool | kanzi::isPacked (GraphicsDataType dataType) |
Indicates whether given data type is packed or not. More... | |
KANZI_API unsigned int | kanzi::getByteCount (GraphicsDataType dataType, unsigned int dimension) |
Returns number of bytes for graphics data. More... | |
KANZI_API FixedString | kanzi::toFixedString (GraphicsDataType dataType) |
Returns human readable string for GraphicsDataType. More... | |
KANZI_API FixedString | kanzi::toFixedString (GraphicsFormat format) |
Returns human readable string for GraphicsFormat. More... | |