|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Collection of Node elements defined by an OBJ file. More...
#include <GREM/core/formats/obj.hpp>
Static Public Member Functions | |
| static Asset | parse (StringView objString) |
| Parse an asset from an OBJ string. | |
Public Attributes | |
| ArrayList< String > | materialLibraryFilenames {} |
| List of relative filepaths of the material libraries associated with this asset. | |
| Buffer< vec3 > | vertices {} |
| List of vertex positions referenced by the face vertices defined in this asset. | |
| Buffer< vec2 > | textureCoordinates {} |
| List of texture coordinates referenced by the face vertices defined in this asset. | |
| Buffer< vec3 > | normals {} |
| List of normal vectors referenced by the face vertices defined in this asset. | |
| ArrayList< Node > | nodes {} |
| List of object nodes belonging to this asset. | |
Collection of Node elements defined by an OBJ file.
|
staticnodiscard |
Parse an asset from an OBJ string.
| objString | input OBJ string to parse. |
| obj::Error | on failure to parse the asset. |
| std::length_error | if an internal size limit was exceeded. |
| std::bad_array_new_length | if an internal size limit was exceeded. |
| std::bad_alloc | on allocation failure. |
List of relative filepaths of the material libraries associated with this asset.
List of vertex positions referenced by the face vertices defined in this asset.
List of texture coordinates referenced by the face vertices defined in this asset.
List of normal vectors referenced by the face vertices defined in this asset.