载入中...
搜索中...
未找到
Light.h 文件参考
#include "common/Export.h"
#include "common/ECS.h"
#include "zeroerr/assert.h"
#include <algorithm>
#include <array>
#include <cmath>
#include <cstdint>
#include <string>
#include <string_view>
#include <glm/glm.hpp>

浏览源代码.

类

struct  eve::graphics::Light2DGpu
 GPU light packing for lit2d (std140-friendly). 更多...
 
struct  eve::graphics::Lighting2DUBO
 Lighting2DUBO public API. 更多...
 
class  eve::graphics::Light2D
 Declarative 2D light. Collected by RenderSystem (max 8 per canvas/frame). type: "point" | "dir" | "spot" (≤15 chars). 更多...
 
struct  eve::graphics::Light2D::Data
 Data public API. 更多...
 
struct  eve::graphics::Light3DGpu
 GPU light packing for mesh3d / PBR (std140-friendly). 更多...
 
struct  eve::graphics::Lighting3DPack
 Lighting3DPack public API. 更多...
 
class  eve::graphics::Light3D
 Declarative 3D light. Collected by RenderSystem3D (max 8 per frame). type: "point" | "dir" | "spot" (≤15 chars). 更多...
 
struct  eve::graphics::Light3D::Data
 Data public API. 更多...
 

命名空间

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

函数

void eve::graphics::lightSpotCosines (float angleDeg, float softness, float &cosOuter, float &cosInner)
 Convert spot angle/softness into GPU cosines (outer < inner). Shared by Light2D and Light3D flashlight cones.
 
void eve::graphics::light2dSpotCosines (float angleDeg, float softness, float &cosOuter, float &cosInner)
 Backward-compatible alias for lightSpotCosines.