glTF buffer view - provides a view/slice of the glTF buffer More...


Public Member Functions | |
| bufferView () | |
| Default construct. More... | |
| bufferView (const word &name) | |
| Construct with name. More... | |
| ~bufferView ()=default | |
| Destructor. More... | |
| label & | buffer () noexcept |
| Return the buffer index. More... | |
| label & | byteOffset () noexcept |
| Return the byte offset. More... | |
| label & | byteLength () noexcept |
| Return the byte length. More... | |
| label & | target () noexcept |
| Return the target. More... | |
| void | write (Ostream &os) const |
| Write. More... | |
| void | operator= (const bufferView &bv) |
Public Member Functions inherited from base | |
| base () | |
| Default construct. More... | |
| base (const word &name) | |
| Construct with name. More... | |
| ~base ()=default | |
| Destructor. More... | |
| label & | id () noexcept |
| Return access to the ID. More... | |
| const word & | name () const noexcept |
| Return const access to the name. More... | |
| void | write (Ostream &os) const |
| Write. More... | |
| void | operator= (const base &gltf) |
Protected Attributes | |
| label | buffer_ |
| Buffer index. More... | |
| label | byteOffset_ |
| Byte offset. More... | |
| label | byteLength_ |
| Byte length. More... | |
| label | target_ |
| Target. More... | |
Protected Attributes inherited from base | |
| word | name_ |
| Name. More... | |
| label | id_ |
| ID. More... | |
glTF buffer view - provides a view/slice of the glTF buffer
Definition at line 59 of file foamGltfBufferView.H.
| bufferView | ( | ) |
Default construct.
Definition at line 25 of file foamGltfBufferView.C.
|
explicit |
Construct with name.
Definition at line 35 of file foamGltfBufferView.C.
|
default |
Destructor.
|
noexcept |
Return the buffer index.
Definition at line 47 of file foamGltfBufferView.C.
|
noexcept |
Return the byte offset.
Definition at line 53 of file foamGltfBufferView.C.
|
noexcept |
Return the byte length.
Definition at line 59 of file foamGltfBufferView.C.
|
noexcept |
Return the target.
Definition at line 65 of file foamGltfBufferView.C.
| void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 71 of file foamGltfBufferView.C.
References Foam::indent(), Foam::nl, os(), and base::write().
Referenced by Foam::operator<<().


| void operator= | ( | const bufferView & | bv | ) |
Definition at line 87 of file foamGltfBufferView.C.
References bufferView::buffer_, bufferView::byteLength_, bufferView::byteOffset_, base::operator=(), and bufferView::target_.

|
protected |
Buffer index.
Definition at line 70 of file foamGltfBufferView.H.
Referenced by bufferView::operator=().
|
protected |
Byte offset.
Definition at line 75 of file foamGltfBufferView.H.
Referenced by bufferView::operator=().
|
protected |
Byte length.
Definition at line 80 of file foamGltfBufferView.H.
Referenced by bufferView::operator=().
|
protected |