载入中...
搜索中...
未找到
eve::sceneloader::MeshSlot结构体 参考

A GPU mesh reference for one Assimp mesh referenced by an aiNode. The loader uploads one Renderable3D (with its own mesh + material) per aiMesh, so every mesh is an independently diffable GameObject and unchanged meshes are never re-uploaded across a hot reload. With LoadOptions::sharedMeshes the same aiMesh referenced by several nodes uploads a single GPU buffer. 更多...

#include <SceneLoader.h>

Public 属性

const aiScene * scene = nullptr
 
const aiMesh * mesh = nullptr
 
unsigned materialIndex = 0
 

详细描述

A GPU mesh reference for one Assimp mesh referenced by an aiNode. The loader uploads one Renderable3D (with its own mesh + material) per aiMesh, so every mesh is an independently diffable GameObject and unchanged meshes are never re-uploaded across a hot reload. With LoadOptions::sharedMeshes the same aiMesh referenced by several nodes uploads a single GPU buffer.

在文件 SceneLoader.h82 行定义.

类成员变量说明

◆ materialIndex

unsigned eve::sceneloader::MeshSlot::materialIndex = 0

在文件 SceneLoader.h85 行定义.

◆ mesh

const aiMesh* eve::sceneloader::MeshSlot::mesh = nullptr

在文件 SceneLoader.h84 行定义.

◆ scene

const aiScene* eve::sceneloader::MeshSlot::scene = nullptr

在文件 SceneLoader.h83 行定义.


该结构体的文档由以下文件生成: