static assert(isPackedRGB!(PackedRGB!("rgb_5_6_5", ubyte)) == true); static assert(isPackedRGB!(PackedRGB!("rgba_s10_s10_s10_u2", short)) == true); static assert(isPackedRGB!(PackedRGB!("rg_f16_f16", float)) == true); static assert(isPackedRGB!(PackedRGB!("rgb_f11_f11_f10", float)) == true); static assert(isPackedRGB!(PackedRGB!("rgb_9_9_9_e5", float)) == true); static assert(isPackedRGB!(PackedRGB!("rgb_f10_s4_u2", float)) == true); static assert(isPackedRGB!int == false);
Detect whether T is a packed RGB color.