The glb.py module#
Summary#
Convert a USD stage to a self-contained GLB binary. |
Description#
GLB conversion entrypoint for USD web viewer export.
Module detail#
- glb.convert_usd_to_glb(path: pathlib.Path) bytes#
Convert a USD stage to a self-contained GLB binary.
- Parameters:
- path
Path Path to the USD file to convert.
- path
- Returns:
bytesThe GLB binary data.