pygfx.resources.Resource
- class pygfx.resources.Resource
Bases:
TrackableBase class for
BufferandTexture.- property rev
The revision number (integer).
The number changes when
update_range()is called. The number is monotonically increasing and globally unique (no two buffers/textures have the same rev). This makes that it can be used as hash for the data content.