API reference
python:astx:astx.BufferViewDescriptor.__init__
method __init__
__init__(metadata: Any, element_type: astx.DataType | None = None) -> None
Source: packages/astx/src/astx/buffer.py:81
Declared as: python:astx:astx.buffer.BufferViewDescriptor.__init__
Initialize one buffer view descriptor.
Parameters
-
metadata — Metadata associated with the operation.; Type: Any
-
element_type — Type of each element.; Type: astx.DataType | None
Returns
Type: None