Class: BufferView

X3DOM
Component: Geometry3D

.nodeTypes. BufferView

The BufferAccessor node is experimental.

HTML Encoding and Default Values

<BufferView byteLength='0' byteOffset='0' byteStride='0' dracoId='0' idx='0' metadata='X3DMetadataObject' target='34962' ></BufferView>

Inheritance


Constructor

BufferView(ctx)

Constructor for BufferView

Parameters:
Name Type Argument Default Description
ctx Object <optional>
null context object, containing initial settings like namespace

Fields

These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
byteLength SFInt32 0 The buffer byteLength
byteOffset SFInt32 0 The buffer byteOffset
byteStride SFInt32 0 The buffer byteStride
dracoId SFInt32 0 The buffer draco geometry unique id
idx SFInt32 0 The buffer idx
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information
target SFInt32 34962 The buffer target vertex or index