splited to GraphModuleManager.cpp
This commit is contained in:
@@ -13,7 +13,7 @@ namespace hgl
|
||||
|
||||
struct RenderNode
|
||||
{
|
||||
uint index; ///<在MaterialRenderList中的索引
|
||||
uint index; ///<在MaterialRenderList中的索引
|
||||
|
||||
SceneNode * scene_node;
|
||||
|
||||
|
@@ -6,6 +6,10 @@
|
||||
#include<hgl/graph/VKInlinePipeline.h>
|
||||
#include<hgl/io/DataOutputStream.h>
|
||||
VK_NAMESPACE_BEGIN
|
||||
/**
|
||||
* 管线<br>
|
||||
* 管线管理了一批次渲染的所有基础条件,包括顶点输入、着色器、混合、深度测试等等
|
||||
*/
|
||||
class Pipeline
|
||||
{
|
||||
VkDevice device;
|
||||
|
@@ -65,7 +65,8 @@ public:
|
||||
virtual const bool IsRender(){return false;} ///<是否为渲染模块
|
||||
|
||||
GraphModuleManager *GetManager(){return module_manager;} ///<取得模块管理器
|
||||
GPUDevice *GetDevice(){return module_manager->GetDevice();} ///<取得GPU设备
|
||||
GPUDevice * GetDevice(){return module_manager->GetDevice();} ///<取得GPU设备
|
||||
GPUDeviceAttribute *GetDeviceAttribute();
|
||||
|
||||
static const AnsiIDName *GetModuleName(){return nullptr;} ///<取得模块名称(标准通用的名称,比如Upscale,供通用模块使用)
|
||||
virtual const AnsiIDName *GetName()const{return &module_name;} ///<取得名称(完整的私有名称,比如FSR3Upscale,DLSS3Upscale)
|
||||
|
Reference in New Issue
Block a user