载入中...
搜索中...
未找到
ShaderScriptBindings.cpp 文件参考
#include "graphics/ShaderScriptBindings.h"
#include "graphics/Graphics.h"
#include "graphics/Shader.h"
#include "common/SquirrelBinding.h"
#include "common/BorrowedRef.h"
#include "filesystem/Filesystem.h"
#include "filesystem/FileData.h"
#include <simplesquirrel/simplesquirrel.hpp>
#include <cstring>
#include <exception>
#include <memory>
#include <vector>

浏览源代码.

命名空间

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

函数

Result< std::vector< std::uint32_t > > eve::graphics::detail::readShaderStageFile (const std::string &path)
 Reads shader stage file.
 
void eve::graphics::exposeShaderScriptBindings (ssq::Table &table, ssq::Class &cls)
 Register shader loading and binary replacement on the VM owner thread. Borrows both tables for this call only; invokes no script callbacks.