pub fn create_image_texture(
tx: &mut Transaction,
model: &Model,
schema: &Schema,
draft: ImageTextureDraft<'_>,
) -> StyleResult<EntityId>Expand description
Stage an IfcImageTexture.
§The URL is required and must not be blank
URLReference is the only attribute that says what the texture
actually is. An empty string satisfies the schema’s type but names
no image, producing a texture that resolves to nothing – so it is
refused rather than written.
§Errors
Refuses a blank URLReference, and a TextureTransform that does
not resolve to an IfcCartesianTransformationOperator2D.