载入中...
搜索中...
未找到
ViewPreparation.cpp 文件参考
#include "graphics/ViewPreparation.h"
#include <algorithm>
#include <exception>
#include <vector>
#include "common/Assert.h"

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::graphics
 卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局参数。 数据模型与渲染/交互逻辑见 CardTypes.h。
 

函数

Result< uint64_t > eve::graphics::addViewPreparation (ViewPreparation callback)
 Register a preparer for main and offscreen views; empty callbacks fail. @ownership Registry owns the callable until removal; captured objects must outlive registration.
 
void eve::graphics::removeViewPreparation (uint64_t token) noexcept
 Remove a registration; missing/zero tokens are harmless. @thread Graphics thread outside dispatch. Does not invoke the callback.
 

变量说明

◆ callback

ViewPreparation callback

在文件 ViewPreparation.cpp 第 10 行定义.

被这些函数引用 eve::graphics::addViewPreparation(), eve::physics::World3D::closestPoint(), eve::asset::EvpackRegistry::commit(), eve::graphics::webgpu::Graphics::debugGpuDrivenGpuVisibleCount(), eve::graphics::webgpu::Graphics::debugGpuDrivenVgGpuVisibleCount(), eve::graphics::webgpu::Graphics::end3DFrameToCanvas(), eve::graphics::webgpu::Graphics::filterHDRReflectionCubemap(), eve::physics::World3D::moveCapsule(), eve::Observer< Args >::notify(), eve::Observer< Args >::notifyChecked(), eve::graphics::Graphics::onResourcesRetiring(), eve::physics::World3D::queryAABB(), eve::physics::World3D::queryAabbBroadPhaseOwned(), eve::physics::World3D::queryCapsuleOwned(), eve::physics::World3D::rayCastOwned(), eve::editor::ScriptEditorTool::setActivateCallback(), eve::editor::ScriptEditorTool::setCancelCallback(), eve::editor::ScriptEditorTool::setDeactivateCallback(), eve::editor::ScriptEditorTool::setKeyCallback(), eve::editor::ScriptEditorTool::setPointerCallback(), eve::editor::ScriptEditorTool::setUpdateCallback(), eve::physics::World3D::sphereCast(), eve::Observer< Args >::subscribe(), eve::asset::EvpackRegistry::subscribe(), eve::VersionedRegistry< Key, Value, EventData, Compare >::subscribe(), eve::definitions::DefinitionRegistry::subscribe(), eve::editor::EditorPropertyModel::subscribe(), eve::property_access::ReflectedPropertyModel::subscribe(), eve::policyregistry::PolicyRegistry::subscribe(), eve::platform_event::PlatformEvent::subscribePoll(), eve::animation::AnimClipRegistry::subscribeReload(), eve::asset::EvpackRegistry::unmount() , 以及 eve::gpgpu::webgpuSequenceSubmitAsync().

◆ token

uint64_t token

在文件 ViewPreparation.cpp 第 9 行定义.