pub const MAX_TEXTURE_DIMENSION: u32 = 16384;Expand description
Upper bound on a decoded texture’s width/height. 16384² RGBA ≈ 1 GiB — a
hostile/garbage image header claiming larger dimensions is rejected BEFORE
any pixel buffer is allocated, so a crafted file can’t drive an OOM. Matches
the IfcPixelTexture bound.