载入中...
搜索中...
未找到
eve::graphics::DiffuseLightProbeRegistry类 参考

Owns generated diffuse probes and samples their baked L0 irradiance. 更多...

#include <DiffuseLightProbeRegistry.h>

Public 成员函数

void replaceBatch (const std::string &batchId, const std::vector< eve::ProcgenProbeDesc > &probes)
 Atomically replace the diffuse probes owned by one generated batch.
 
void removeBatch (const std::string &batchId)
 Remove every diffuse probe owned by one generated batch.
 
Result< DiffuseLightProbeSample > sample (const glm::vec3 &position, int maxSamples) const
 Blend up to maxSamples probes whose influence volumes contain position.
 
Result< DiffuseLightProbeVolumeSample > selectVolume (const glm::vec3 &position) const
 Select an object-local proxy volume; fragment shading performs the spatial interpolation.
 

静态 Public 成员函数

static DiffuseLightProbeRegistry & instance ()
 Return the process-wide graphics-owned registry.
 

详细描述

Owns generated diffuse probes and samples their baked L0 irradiance.

在文件 DiffuseLightProbeRegistry.h 第 29 行定义.

成员函数说明

◆ instance()

DiffuseLightProbeRegistry & eve::graphics::DiffuseLightProbeRegistry::instance ( )
static

Return the process-wide graphics-owned registry.

在文件 DiffuseLightProbeRegistry.cpp 第 65 行定义.

被这些函数引用 eve::graphics::RenderSystem3D::render() , 以及 eve::graphics::RenderSystem3D::renderToCanvas().

◆ removeBatch()

void eve::graphics::DiffuseLightProbeRegistry::removeBatch ( const std::string &  batchId)

Remove every diffuse probe owned by one generated batch.

在文件 DiffuseLightProbeRegistry.cpp 第 75 行定义.

◆ replaceBatch()

void eve::graphics::DiffuseLightProbeRegistry::replaceBatch ( const std::string &  batchId,
const std::vector< eve::ProcgenProbeDesc > &  probes 
)

Atomically replace the diffuse probes owned by one generated batch.

在文件 DiffuseLightProbeRegistry.cpp 第 70 行定义.

◆ sample()

◆ selectVolume()


该类的文档由以下文件生成: