MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ is_float_format() [1/2]

bool MayaFlux::Kakshya::is_float_format ( ImageFormat  format)

Definition at line 102 of file PixelStorage.cpp.

103{
104 switch (format) {
105 case ImageFormat::R16F:
106 case ImageFormat::RG16F:
107 case ImageFormat::RGBA16F:
108 case ImageFormat::R32F:
109 case ImageFormat::RG32F:
110 case ImageFormat::RGBA32F:
111 case ImageFormat::DEPTH32F:
112 return true;
113 default:
114 return false;
115 }
116}

Referenced by read_normalized_at(), and write_normalized_at().

+ Here is the caller graph for this function: