|
HDK
|
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| HIO_API HioFormat | HioGetFormat (uint32_t nchannels, HioType type, bool isSRGB) |
| Returns the HioFormat of containing nChannels of HioType type. More... | |
| HIO_API HioType | HioGetHioType (HioFormat) |
| Return the HioType corresponding to the given HioFormat. More... | |
| HIO_API int | HioGetComponentCount (HioFormat format) |
| Return the count of components (channels) in the given HioFormat. More... | |
| HIO_API size_t | HioGetDataSizeOfType (HioFormat hioFormat) |
| Return the size in bytes for a component (channel) in the given HioFormat. More... | |
| HIO_API size_t | HioGetDataSizeOfType (HioType type) |
| Return the size in bytes for a component (channel) in the given HioType. More... | |
| HIO_API size_t | HioGetDataSizeOfFormat (HioFormat format, size_t *blockWidth=nullptr, size_t *blockHeight=nullptr) |
| Returns the size of bytes per pixel for the given HioFormat. More... | |
| HIO_API bool | HioIsCompressed (HioFormat format) |
| Return if the given format is compressed. More... | |
| HIO_API size_t | HioGetDataSize (const HioFormat hioFormat, const GfVec3i &dimensions) |
| enum HioAddressDimension |
| enum HioAddressMode |
| enum HioFormat |
HioFormat describes the memory format of image buffers used in Hio.
For reference, see: https://www.khronos.org/registry/vulkan/specs/1.1/html/vkspec.html#VkFormat
| enum HioType |
Return the count of components (channels) in the given HioFormat.
Calculate the byte size of texture. If compressed, takes block size into account.
| HIO_API size_t HioGetDataSizeOfFormat | ( | HioFormat | format, |
| size_t * | blockWidth = nullptr, |
||
| size_t * | blockHeight = nullptr |
||
| ) |
Returns the size of bytes per pixel for the given HioFormat.
Return the size in bytes for a component (channel) in the given HioFormat.
Return the size in bytes for a component (channel) in the given HioType.
Returns the HioFormat of containing nChannels of HioType type.
Return the HioType corresponding to the given HioFormat.