载入中...
搜索中...
未找到
eve::asset_graphics::ProcgenPrefabSceneSink::Impl结构体 参考

类

struct  Batch
 
struct  Version
 

Public 类型

using Batches = std::map< std::string, Batch >
 
using VersionKey = std::pair< PersistentId, PersistentId >
 

Public 成员函数

bool available () const
 
Result< void > validateRevision (const std::string &id) const
 
Result< void > validateCandidates (const Batches &candidates) const
 
Result< Batches > prepare (const std::vector< ProcgenBatchSnapshot > &snapshots)
 
void commit (Batches &candidates)
 

静态 Public 成员函数

static void visibility (StaticPrefabRenderInstance &instance, bool visible)
 
static void visibility (Batch &batch, bool visible)
 

Public 属性

graphics::Graphics & graphics
 
IProcgenSceneSink & scene
 
std::map< VersionKey, Version > assets
 
Batches active
 
std::vector< Batches::node_type > retired
 
bool busy = false
 
bool closed = false
 

详细描述

在文件 ProcgenPrefabSceneSink.cpp 第 34 行定义.

成员类型定义说明

◆ Batches

在文件 ProcgenPrefabSceneSink.cpp 第 43 行定义.

◆ VersionKey

成员函数说明

◆ available()

bool eve::asset_graphics::ProcgenPrefabSceneSink::Impl::available ( ) const
inline

在文件 ProcgenPrefabSceneSink.cpp 第 53 行定义.

引用了 busy , 以及 closed.

◆ commit()

void eve::asset_graphics::ProcgenPrefabSceneSink::Impl::commit ( Batches &  candidates)
inline

在文件 ProcgenPrefabSceneSink.cpp 第 158 行定义.

引用了 active, candidates, EV_ASSERT, node, retired , 以及 visibility().

◆ prepare()

◆ validateCandidates()

Result< void > eve::asset_graphics::ProcgenPrefabSceneSink::Impl::validateCandidates ( const Batches &  candidates) const
inline

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

引用了 candidates, renderer , 以及 eve::Result< T >::success().

◆ validateRevision()

Result< void > eve::asset_graphics::ProcgenPrefabSceneSink::Impl::validateRevision ( const std::string &  id) const
inline

◆ visibility() [1/2]

static void eve::asset_graphics::ProcgenPrefabSceneSink::Impl::visibility ( Batch &  batch,
bool  visible 
)
inlinestatic

◆ visibility() [2/2]

static void eve::asset_graphics::ProcgenPrefabSceneSink::Impl::visibility ( StaticPrefabRenderInstance &  instance,
bool  visible 
)
inlinestatic

类成员变量说明

◆ active

Batches eve::asset_graphics::ProcgenPrefabSceneSink::Impl::active

在文件 ProcgenPrefabSceneSink.cpp 第 50 行定义.

被这些函数引用 commit(), prepare() , 以及 validateRevision().

◆ assets

std::map<VersionKey, Version> eve::asset_graphics::ProcgenPrefabSceneSink::Impl::assets

在文件 ProcgenPrefabSceneSink.cpp 第 49 行定义.

被这些函数引用 prepare().

◆ busy

bool eve::asset_graphics::ProcgenPrefabSceneSink::Impl::busy = false

在文件 ProcgenPrefabSceneSink.cpp 第 52 行定义.

被这些函数引用 available().

◆ closed

bool eve::asset_graphics::ProcgenPrefabSceneSink::Impl::closed = false

在文件 ProcgenPrefabSceneSink.cpp 第 52 行定义.

被这些函数引用 available().

◆ graphics

graphics::Graphics& eve::asset_graphics::ProcgenPrefabSceneSink::Impl::graphics

在文件 ProcgenPrefabSceneSink.cpp 第 35 行定义.

被这些函数引用 prepare().

◆ retired

std::vector<Batches::node_type> eve::asset_graphics::ProcgenPrefabSceneSink::Impl::retired

在文件 ProcgenPrefabSceneSink.cpp 第 51 行定义.

被这些函数引用 commit() , 以及 prepare().

◆ scene

IProcgenSceneSink& eve::asset_graphics::ProcgenPrefabSceneSink::Impl::scene

在文件 ProcgenPrefabSceneSink.cpp 第 36 行定义.

被这些函数引用 prepare() , 以及 validateRevision().


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