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

Optional Vulkan KHR ray-tracing module. 更多...

#include <RayTracingModule.h>

类 eve::graphics::raytracing::RayTracing 继承关系图:
eve::Module

Public 成员函数

 Module_REG (RayTracing)
 
 RayTracing ()=default
 Ray tracing.
 
 ~RayTracing () override=default
 Ray tracing.
 
bool isAvailable () const
 True when the active Graphics device enabled hardware RT.
 
RayTracingCaps caps () const
 Snapshot of probed RT device capabilities.
 
IRayTracing * backend () const
 Borrow the process-wide IRayTracing provider, or nullptr when the module is linked but Graphics has not initialized yet. @ownership Non-owning borrow of the capability registry entry; do not delete. @lifetime Valid until Graphics tears down the RT backend (or process exit). @thread Render thread only.
 
- Public 成员函数 继承自 eve::Module
virtual ~Module ()
 Module.
 
virtual std::string getName () const =0
 Returns the name.
 

详细描述

Optional Vulkan KHR ray-tracing module.

Script: construct via eve.RayTracing(), then gate work on isAvailable().

When the GPU lacks RT extensions, factories still construct but every fallible operation returns StatusCode::Unsupported.

在文件 RayTracingModule.h 第 20 行定义.

构造及析构函数说明

◆ RayTracing()

eve::graphics::raytracing::RayTracing::RayTracing ( )
default

Ray tracing.

◆ ~RayTracing()

eve::graphics::raytracing::RayTracing::~RayTracing ( )
overridedefault

Ray tracing.

成员函数说明

◆ backend()

IRayTracing * eve::graphics::raytracing::RayTracing::backend ( ) const

Borrow the process-wide IRayTracing provider, or nullptr when the module is linked but Graphics has not initialized yet. @ownership Non-owning borrow of the capability registry entry; do not delete. @lifetime Valid until Graphics tears down the RT backend (or process exit). @thread Render thread only.

在文件 RayTracingModule.cpp 第 25 行定义.

◆ caps()

RayTracingCaps eve::graphics::raytracing::RayTracing::caps ( ) const

Snapshot of probed RT device capabilities.

在文件 RayTracingModule.cpp 第 20 行定义.

◆ isAvailable()

bool eve::graphics::raytracing::RayTracing::isAvailable ( ) const

True when the active Graphics device enabled hardware RT.

在文件 RayTracingModule.cpp 第 15 行定义.

◆ Module_REG()

eve::graphics::raytracing::RayTracing::Module_REG ( RayTracing  )

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