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