Class: BufferView

X3DOM
Component: Geometry3D

.nodeTypes. BufferView

The BufferAccessor node is experimental.

HTML Encoding and Default Values

<BufferView byteLength='0' byteOffset='0' byteStride='0' id='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
id SFInt32 0 The buffer id
metadata SFNode X3DMetadataObject X3DNode Field to add metadata information
target SFInt32 34962 The buffer target vertex or index