Skip to main content

mount_image_node

Function mount_image_node 

Source
pub fn mount_image_node(buffer: ImageBuffer, style: Style) -> NodeId
Expand description

Mounts an image leaf node from buffer and style in one monomorphic call.

§Arguments

  • ImageBuffer - Decoded RGBA8 image buffer.
  • Style - Image style.

§Returns

  • NodeId - Created image node handle.