载入中...
搜索中...
未找到
#include <algorithm>#include <bit>#include <cmath>#include <cstring>#include <exception>#include <glm/mat4x4.hpp>#include <memory>#include <simplesquirrel/simplesquirrel.hpp>#include <stdexcept>#include <vector>#include "common/BorrowedRef.h"#include "common/SquirrelBinding.h"#include "filesystem/FileData.h"#include "filesystem/Filesystem.h"#include "filesystem/PreparedFile.h"#include "graphics/Bloom.h"#include "graphics/Graphics.h"#include "graphics/Mesh.h"#include "graphics/Shader.h"#include "graphics/ShaderResources.h"#include "graphics/ShaderScriptBindings.h"#include "graphics/shaders/stylized_grass_spv.inc"命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::graphics |
| 卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局参数。 数据模型与渲染/交互逻辑见 CardTypes.h。 | |
| namespace | eve::graphics::detail |
函数 | |
| void | eve::graphics::detail::exposeShaderResourceBindings (ssq::Table &table, ssq::Class &cls) |
| Expose shader resource bindings. | |
| EVENGINE_API_BACKENDS Result< std::vector< ShaderImageRegion > > | eve::graphics::shaderImageRegions (const ShaderImageInput &image) |
| Validate layout, dimensions, sampler compatibility and exact payload size. | |
| EVENGINE_API_BACKENDS Result< std::uint32_t > | eve::graphics::shaderInstanceMatrixCount (std::span< const std::byte > bytes) |
| Validate packed instance records without GPU access; returns the record count. | |
| 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. | |