usdgeom-invisible-prims#

Code

VG.034

Version

1.0.0

Validator

latest+

Compatibility

core-usd

Tags

šŸš€

Summary#

Avoid invisible prims when deactivation is more appropriate.

Description#

Prims with visibility set to ā€œinvisibleā€ still consume memory and processing resources during stage traversal and composition. When prims are permanently invisible and not intended to be toggled visible at runtime, they should be deactivated instead. Deactivated prims are excluded from stage traversal and do not consume runtime resources.

Why is it required?#

  • Reduces memory usage by excluding unnecessary prims from the stage

  • Improves stage traversal performance

  • Reduces file loading time

  • Provides clearer intent - deactivation indicates the prim is not needed

Examples#

How to comply#

  • Use Scene Optimizer ā€œRemove Primsā€ operation to deactivate invisible prims

  • Only use visibility for prims that need runtime visibility toggling

For More Information#