MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / getChannelCount

Method getChannelCount

tools/imageio/imagecodec.hpp:468–468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466 constexpr uint32_t getPackedElementCount() const { return packedElementCount; }
467 constexpr uint32_t getTexelBlockByteSize() const { return texelBlockByteSize; }
468 constexpr uint32_t getChannelCount() const { return channels; }
469
470 glm::uvec4 pixelToTexelBlockSize(glm::uvec4 pixelSize) const {
471 return (pixelSize + texelBlockDimensions - glm::uvec4(1, 1, 1, 1)) / texelBlockDimensions;

Callers 1

operator<<Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected