# DO NOT EDIT! This file was auto-generated by crates/build/re_types_builder/src/codegen/python/mod.rs # Based on "crates/build/re_type_definitions/rerun/components/image_buffer.def.rs". # You can extend this class by creating a "ImageBufferExt" class in "image_buffer_ext.py". from __future__ import annotations from .. import encodings from .._baseclasses import ( ComponentBatchMixin, ComponentMixin, ) __all__ = ["ImageBuffer", "ImageBufferBatch"] class ImageBuffer(encodings.Blob, ComponentMixin): """ **Component**: A buffer that is known to store image data. To interpret the contents of this buffer, see, [`components.ImageFormat`][rerun.components.ImageFormat]. """ _BATCH_TYPE = None # You can define your own __init__ function as a member of ImageBufferExt in image_buffer_ext.py # Note: there are no fields here because ImageBuffer delegates to encodings.Blob class ImageBufferBatch(encodings.BlobBatch, ComponentBatchMixin): _COMPONENT_TYPE: str = "rerun.components.ImageBuffer" # This is patched in late to avoid circular dependencies. ImageBuffer._BATCH_TYPE = ImageBufferBatch # type: ignore[assignment]