BlobEncoderLayout

class dsviper.BlobEncoderLayout

Bases: object

A BlobLayout together with the Viper types it reads as.

type() is the Viper type of one element - vec<float, 3> for a float-3 layout - and element_type() the type of one component, float.

Note: Not directly instantiable.

blob_layout() → BlobLayout

Return the layout.

element_type() → _NumericTypes

Return the type of one component.

type() → _NumericTypes | TypeVec

Return the type of one element.