Go to the documentation of this file.
40 #ifndef foam_gltf_bufferview_H
41 #define foam_gltf_bufferview_H
55 Ostream&
operator<<(Ostream&,
const glTF::bufferView& bv);
label & target() noexcept
Return the target.
A class for handling words, derived from Foam::string.
label byteLength_
Byte length.
label & buffer() noexcept
Return the buffer index.
const word & name() const noexcept
Return const access to the name.
label buffer_
Buffer index.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Base class for glTF entities.
glTF buffer view - provides a view/slice of the glTF buffer
~bufferView()=default
Destructor.
OBJstream os(runTime.globalPath()/outputName)
label byteOffset_
Byte offset.
label & byteOffset() noexcept
Return the byte offset.
bufferView()
Default construct.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void write(Ostream &os) const
Write.
label & byteLength() noexcept
Return the byte length.