glTF buffer view - provides a view/slice of the glTF buffer More...
#include <foamGltfBufferView.H>


Public Member Functions | |
| bufferView () | |
| Default construct. | |
| bufferView (const word &name) | |
| Construct with name. | |
| ~bufferView ()=default | |
| Destructor. | |
| label & | buffer () noexcept |
| Return the buffer index. | |
| label & | byteOffset () noexcept |
| Return the byte offset. | |
| label & | byteLength () noexcept |
| Return the byte length. | |
| label & | target () noexcept |
| Return the target. | |
| void | write (Ostream &os) const |
| Write. | |
| void | operator= (const bufferView &bv) |
| Public Member Functions inherited from base | |
| base () | |
| Default construct. | |
| base (const word &name) | |
| Construct with name. | |
| ~base ()=default | |
| Destructor. | |
| label & | id () noexcept |
| Return access to the ID. | |
| const word & | name () const noexcept |
| Return const access to the name. | |
| void | write (Ostream &os) const |
| Write. | |
| void | operator= (const base &gltf) |
Protected Attributes | |
| label | buffer_ |
| Buffer index. | |
| label | byteOffset_ |
| Byte offset. | |
| label | byteLength_ |
| Byte length. | |
| label | target_ |
| Target. | |
| Protected Attributes inherited from base | |
| word | name_ |
| Name. | |
| label | id_ |
| ID. | |
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.
References base::base(), buffer_, byteLength_, byteOffset_, and target_.
Referenced by ~bufferView().


|
explicit |
Construct with name.
Definition at line 35 of file foamGltfBufferView.C.
References base::base(), buffer_, byteLength_, byteOffset_, base::name(), and target_.

|
default |
Destructor.
References bufferView(), byteLength(), byteOffset(), Foam::noexcept, os(), target(), and write().

|
noexcept |
Return the buffer index.
Definition at line 47 of file foamGltfBufferView.C.
References buffer_, and Foam::noexcept.
|
noexcept |
Return the byte offset.
Definition at line 53 of file foamGltfBufferView.C.
References byteOffset_, and Foam::noexcept.
Referenced by ~bufferView().

|
noexcept |
Return the byte length.
Definition at line 59 of file foamGltfBufferView.C.
References byteLength_, and Foam::noexcept.
Referenced by ~bufferView().

|
noexcept |
Return the target.
Definition at line 65 of file foamGltfBufferView.C.
References Foam::noexcept, and target_.
Referenced by ~bufferView().

| void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 71 of file foamGltfBufferView.C.
References buffer_, byteLength_, byteOffset_, Foam::indent(), Foam::nl, os(), target_, and base::write().
Referenced by Foam::operator<<(), and ~bufferView().


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

|
protected |
Buffer index.
Definition at line 70 of file foamGltfBufferView.H.
Referenced by buffer(), bufferView(), bufferView(), operator=(), and write().
|
protected |
Byte offset.
Definition at line 75 of file foamGltfBufferView.H.
Referenced by bufferView(), bufferView(), byteOffset(), operator=(), and write().
|
protected |
Byte length.
Definition at line 80 of file foamGltfBufferView.H.
Referenced by bufferView(), bufferView(), byteLength(), operator=(), and write().
|
protected |
Target.
Definition at line 85 of file foamGltfBufferView.H.
Referenced by bufferView(), bufferView(), operator=(), target(), and write().