Houdini 20.0 hapi

hapi.getSupportedImageFileFormats function

Get a list of support image file formats - their names,

Note that you MUST call hapi.getSupportedImageFileFormatCount before calling this function for the first time.

Usage

getSupportedImageFileFormats(session: hapi.Session, file_format_count: int) → list of hapi.ImageFileFormat

Get a list of support image file formats - their names, descriptions and a list of recognized extensions.

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.

file_format_count

The number of supported texture file formats. This should be at least as large as the count returned by hapi.getSupportedImageFileFormatCount.

Returns formats_array as a list of hapi.ImageFileFormat.

hapi