载入中...
搜索中...
未找到
#include "common/Export.h"#include "common/Result.h"#include "graphics/Light.h"#include "graphics/Shadow.h"#include <cstdint>#include <string>#include <string_view>#include <vector>#include <glm/glm.hpp>类 | |
| struct | eve::graphics::ShadowPagingView |
| Camera context used to score local shadow candidates for atlas paging. @ownership Ephemeral; valid only for the selectShadowCasters call. 更多... | |
| struct | eve::graphics::ShadowSchemeSettings |
| Process-wide defaults for creating shadows per light family. 更多... | |
| struct | eve::graphics::LocalShadowSlot |
| One allocated local (spot/point-face) shadow slot for the frame. @ownership Ephemeral CPU descriptor; GPU layer index is valid for the frame. 更多... | |
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::graphics |
| 卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局参数。 数据模型与渲染/交互逻辑见 CardTypes.h。 | |
函数 | |
| Result< ShadowMethod > | eve::graphics::parseShadowMethod (std::string_view name) |
| Parse a script/editor method name into ShadowMethod. | |
| const char * | eve::graphics::shadowMethodName (ShadowMethod method) |
Canonical lowercase name for a ShadowMethod (auto, none, csm, …). | |
| Result< ShadowMethod > | eve::graphics::resolveShadowMethod (std::string_view lightType, ShadowMethod requested) |
| Resolve Auto / validate an explicit method for a concrete light type. | |
| glm::mat4 | eve::graphics::buildSpotShadowVP (const glm::vec3 &position, const glm::vec3 &direction, float range, float outerAngleDeg) |
| Build a perspective light VP for a spot caster (Vulkan RH, ZO depth). | |
| Result< glm::mat4 > | eve::graphics::buildPointShadowFaceVP (const glm::vec3 &position, int faceIndex, float range) |
| Build one cube-face light VP for a point caster. | |
| float | eve::graphics::scoreSpotShadowCandidate (const Light3D::Data &light, const ShadowPagingView &view, const ShadowSchemeSettings &settings, bool hadSlot) |
| Score a spot caster for local-shadow paging (higher = more important). | |
| void | eve::graphics::selectShadowCasters (const std::vector< Light3D::Data * > &lights, const std::vector< bool > &isPointFlags, const ShadowSchemeSettings &settings, const ShadowPagingView &view, Light3D::Data *&directionalCaster, std::vector< LocalShadowSlot > &localSlots) |
| Select directional CSM caster + paged local spot slots for one frame. | |
| void | eve::graphics::resetShadowLocalPageCache () |
| Clear sticky local-page cache (tests / scheme resets). | |