载入中...
搜索中...
未找到
ModelRenderer.cpp 文件参考
#include "model3d/ModelRenderer.h"
#include "model3d/ModelData.h"
#include "filesystem/FileData.h"
#include "filesystem/Filesystem.h"
#include "graphics/IResourceFactory.h"
#include "graphics/RenderSystem3D.h"
#include "graphics/Texture.h"
#include "image/Image.h"
#include <assimp/matrix4x4.h>
#include <assimp/mesh.h>
#include <assimp/scene.h>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>

浏览源代码.

命名空间

namespace  eve
 
namespace  eve::model3d
 

函数

Renderable3D * eve::model3d::buildRenderable (IResourceFactory &gfx, ModelData *model, int meshIndex, const ModelRenderOptions &options)
 
std::vector< Renderable3D * > eve::model3d::buildRenderables (IResourceFactory &gfx, ModelData *model, const ModelRenderOptions &options)
 

变量说明

◆ albedo

◆ height

Texture* height = nullptr

在文件 ModelRenderer.cpp93 行定义.

◆ metallic

◆ normal

◆ roughness

◆ ta

float ta = 1.f

在文件 ModelRenderer.cpp94 行定义.

◆ tb

◆ tg

float tg = 1.f

在文件 ModelRenderer.cpp94 行定义.

被这些函数引用 eve::graphics::RenderSystem3D::render().

◆ tr