载入中...
搜索中...
未找到
GpuDrivenTypes.h
浏览该文件的文档.
86static_assert(sizeof(GpuVegetationVertexRecord) == 112, "GpuVegetationVertexRecord must be 112B (std430 16B aligned)");
102static_assert(sizeof(GpuMaterialRecord) == 112, "GpuMaterialRecord must be 112B (std430 16B aligned)");
130static_assert(sizeof(GpuIndirectCommand) == 20, "GpuIndirectCommand must match VkDrawIndexedIndirectCommand (20B)");
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
constexpr uint32_t kMaxGpuDrivenCubemaps
Definition GpuDrivenTypes.h:21
constexpr uint32_t kMaxGpuDrivenTextures
Definition GpuDrivenTypes.h:20
constexpr uint32_t kInvalidGpuDrivenSlot
GPU-driven rendering shared constants + std430 GPU layouts.
Definition GpuDrivenTypes.h:19
GpuResidentSubmitStatus
Structured result for direct resident-instance submission.
Definition GpuDrivenTypes.h:48
@ InvalidArgument
@ BackendMismatch
@ Unsupported
@ ResourceUnavailable
@ CapacityExceeded
constexpr uint64_t kGpuResidentStorageOffsetAlignment
Portable alignment required for resident storage-buffer slice offsets.
Definition GpuResidentBufferView.h:11
GpuResidentBackend
Backend identity for a transient, non-owning resident GPU buffer view.
Definition GpuResidentBufferView.h:8
Transient backend buffer slice shared between sibling GPU modules. @ownership Non-owning; nativeHandl...
Definition GpuResidentBufferView.h:19
Indirect draw command; layout identical to VkDrawIndexedIndirectCommand.
Definition GpuDrivenTypes.h:123
uint32_t firstInstance
Definition GpuDrivenTypes.h:128
uint32_t instanceCount
Definition GpuDrivenTypes.h:125
Per-instance GPU record (std430). Mirrors GLSL GpuInstance.
Definition GpuDrivenTypes.h:106
glm::uvec4 reflectionProbeSlots
Definition GpuDrivenTypes.h:112
glm::vec4 reflectionProbeExtent[2]
Definition GpuDrivenTypes.h:114
glm::vec4 reflectionProbeCenter[2]
Definition GpuDrivenTypes.h:113
GPU material table record (std430). Mirrors GLSL GpuMaterialRecord.
Definition GpuDrivenTypes.h:90
uint32_t textureSlots[4]
Definition GpuDrivenTypes.h:96
GPU mesh table record (std430). Mirrors GLSL GpuMeshRecord.
Definition GpuDrivenTypes.h:59
glm::vec4 boundsCenterRadius
Definition GpuDrivenTypes.h:60
Direct-render description for a GPU-authored array of GpuInstance records. @ownership buckets and buf...
Definition GpuDrivenTypes.h:40
GpuResidentBufferView buffer
Definition GpuDrivenTypes.h:41
const GpuResidentInstanceBucket * buckets
Definition GpuDrivenTypes.h:42
uint32_t bucketCount
Definition GpuDrivenTypes.h:43
uint32_t instanceCount
Definition GpuDrivenTypes.h:44
One contiguous mesh/material bucket in a sorted resident instance buffer.
Definition GpuDrivenTypes.h:28
uint32_t firstInstance
Definition GpuDrivenTypes.h:29
uint32_t materialId
Definition GpuDrivenTypes.h:32
uint32_t instanceCount
Definition GpuDrivenTypes.h:30
Optional per-vertex streams used by vegetation-capable GPU-driven shaders.
Definition GpuDrivenTypes.h:77
glm::vec4 bitangent
Definition GpuDrivenTypes.h:79
glm::vec4 deformation2
Definition GpuDrivenTypes.h:84
glm::vec4 deformation1
Definition GpuDrivenTypes.h:83
glm::vec4 deformation0
Definition GpuDrivenTypes.h:82
Neutral GPU upload for one virtual-geometry asset. Raw arrays so the graphics module does not depend ...
Definition GpuDrivenTypes.h:147
const std::uint32_t * triangles
Definition GpuDrivenTypes.h:151
const GpuVgCluster * clusters
Definition GpuDrivenTypes.h:153
GPU-packed cluster node (std430, 4 x uvec4). Mirrors the virtualgeometry module's VgGpuCluster layout...
Definition GpuDrivenTypes.h:135