Request

Response

    Type Definitions
    Version 8 preview
    This page documents a preview of the Viewer SDK v8. APIs and content can still change before the final release.

    AttributeLayout

    Describes one attribute within an interleaved vertex buffer.

    Properties

    offset
    number
    Start position (in floats) of this attribute within one vertex stride.
    itemSize
    number
    Number of components per vertex (e.g. 3 for xyz positions).
    bytesPerItem
    number
    Bytes per component (default 4, i.e. float32).
    normalized
    boolean
    Whether integer data should be normalized to [0,1].