载入中...
搜索中...
未找到
PrimitiveTypes.h 文件参考
#include "common/Export.h"
#include "graphics/BlendMode.h"
#include "graphics/Color.h"
#include <glm/glm.hpp>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <vector>

浏览源代码.

类

struct  eve::graphics::RadialTessellation
 Quality and screen-error policy used by circles and curved spatial primitives. 更多...
 
struct  eve::graphics::DashPattern
 Owning alternating draw/gap pattern for stroked primitives. 更多...
 
struct  eve::graphics::StrokeStyle
 Backend-neutral stroke state shared by 2D and 3D canvases. 更多...
 
struct  eve::graphics::PrimitivePaint
 Backend-neutral fill and stroke paint. 更多...
 
struct  eve::graphics::ScenePrimitivePaint
 Additional scene-pass state carried by every 3D command. 更多...
 
struct  eve::graphics::SceneDrawContext
 Immutable camera and viewport facts used to resolve one 3D draw list. Projection uses the engine's RH, zero-to-one depth, Vulkan Y-down convention and backends adapt these shared clip coordinates at submission. 更多...
 
struct  eve::graphics::PrimitiveDrawStatistics
 Per-frame observable primitive workload. 更多...
 

命名空间

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

枚举

enum class  eve::graphics::PaintMode : std::uint8_t { eve::graphics::Fill , eve::graphics::Stroke , eve::graphics::FillAndStroke }
 Whether a primitive paints its interior, boundary, or both. 更多...
 
enum class  eve::graphics::LineCap : std::uint8_t { eve::graphics::Butt , eve::graphics::Square , eve::graphics::Round }
 Shape applied to each open line endpoint. 更多...
 
enum class  eve::graphics::LineJoin : std::uint8_t { eve::graphics::Miter , eve::graphics::Bevel , eve::graphics::Round }
 Shape used where adjacent line segments meet. 更多...
 
enum class  eve::graphics::WidthSpace : std::uint8_t { eve::graphics::ScreenPixels , eve::graphics::WorldUnits }
 Coordinate space in which stroke width is measured. 更多...
 
enum class  eve::graphics::DashSpace : std::uint8_t { eve::graphics::ScreenPixels , eve::graphics::WorldUnits }
 Coordinate space in which dash intervals are measured. 更多...
 
enum class  eve::graphics::PrimitiveDepthMode : std::uint8_t { eve::graphics::TestAndWrite , eve::graphics::TestOnly , eve::graphics::Ignore }
 Depth behavior of one 3D primitive. 更多...
 
enum class  eve::graphics::PrimitiveCullMode : std::uint8_t { eve::graphics::None , eve::graphics::Back , eve::graphics::Front }
 Face culling used by filled 3D primitives. 更多...
 
enum class  eve::graphics::PrimitiveQuality : std::uint8_t { eve::graphics::Low , eve::graphics::Medium , eve::graphics::High , eve::graphics::Adaptive }
 Reusable quality policy for radial primitive tessellation. 更多...
 
enum class  eve::graphics::PrimitiveRecordStatus : std::uint8_t { eve::graphics::Recorded }
 Successful outcome of one atomic primitive recording operation. 更多...
 

函数

std::uint32_t eve::graphics::resolveRadialSegments (const RadialTessellation &tessellation, float projectedRadiusPixels)
 Resolves a radial tessellation policy to a validated segment count.