Oxygen Engine
Modern C++ 3D Engine using OpenGL
Loading...
Searching...
No Matches
oe::scene::loader::Gltf::GltfTextureList Struct Reference

Load the glTF asset into a scene (a new root node will be created) More...

#include <OxygenEngine/scene/loader/gltf.h>

Public Attributes

std::vector< oe::render::Texture * > imported
 textured imported from the asset
 
std::map< size_t, oe::render::Texture * > rou_met_ao
 PBR textures converted from the material.
 

Detailed Description

Load the glTF asset into a scene (a new root node will be created)

Parameters
scene_managerThe scene
id_sceneglTF scene to load
Returns
a reference to the node containing the glTF scene imported in the oe::scene::Scene oe::scene::NodePtr addIntoScene(oe::scene::Scene& scene, uint16_t id_scene = 0);

Load the glTF asset into a scene (using a specified node as root node)

Parameters
scene_managerThe scene manager
root_nodeAsset's root nodes will be imported as children of this node
id_sceneglTF scene to load
Returns
a reference to the node containing the glTF scene imported in the oe::scene::Manager

Class containing pointers to Gltf textures pointers

Member Data Documentation

◆ rou_met_ao

std::map<size_t, oe::render::Texture*> oe::scene::loader::Gltf::GltfTextureList::rou_met_ao

PBR textures converted from the material.

keys are the material id


The documentation for this struct was generated from the following file: