Note that you must call hapi.renderTextureToImage first for this method call to make sense.
You should also call hapi.getImagePlaneCount first to get the total number of image planes so you know how large the image_planes string handle array should be.
Usage ¶
getImagePlanes(session
: hapi.Session, material_node_id
: int
, image_plane_count
: int
) → list
of int
Get the names of the image planes of the just rendered image.
session
The session of Houdini you are interacting with. See hapi.Session for more on sessions. Pass None to just use the default in-process session.
material_node_id
The material node id.
image_plane_count
The number of image planes to get names for. This must be less than or equal to the count returned by hapi.getImagePlaneCount.
Returns image_planes_array as a list
of int
.