pub fn create_pixel_texture(
tx: &mut Transaction,
schema: &Schema,
draft: PixelTextureDraft<'_>,
) -> StyleResult<EntityId>Expand description
Stage an IfcPixelTexture.
pixel holds one binary literal per pixel, hex-encoded without the
STEP quotes. All five WHERE rules are checked here.
ยงErrors
Refuses a width or height below one (MinPixelInS, MinPixelInT), a
colour-component count outside 1..=4 (NumberOfColours), a pixel count
that is not width * height (SizeOfPixelList), and pixels that are
not whole bytes or differ in length from the first (
PixelAsByteAndSameLength).