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

Method setTransferFunction

tools/imageio/image.hpp:689–689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

687 uint32_t getPixelCount() const { return width * height; }
688 khr_df_transfer_e getTransferFunction() const { return transferFunction; }
689 void setTransferFunction(khr_df_transfer_e tf) { transferFunction = tf; }
690 khr_df_primaries_e getPrimaries() const { return primaries; }
691 void setPrimaries(khr_df_primaries_e nprimaries) {
692 this->primaries = nprimaries;

Callers 4

executeCreateMethod · 0.80
createImageMethod · 0.80
resampleMethod · 0.80
ImageTClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected