RenderBatchData.h
Source/MassBattle/Public/Fragments/RenderBatchData.h
概述Overview
渲染批次的内部数据缓冲:插件在模拟帧与渲染器之间搬运目标数据用的通路。日常使用完全不需要接触;只有在编写自定义渲染扩展(直接读取批次数组)时才会用到。材质侧没有一份固定的 VAT 主材质可供派生,当前路线是复制源材质并嫁接 MF_MassBattleMaterialFunction,细节见下方的相关配置与指南。
Internal buffers for render batches — the pathway the plugin uses to move target data between the simulation frame and the renderers. Day-to-day use never touches them; they only matter for custom rendering extensions that read the batch arrays directly. There is no fixed VAT master to derive from: the current route duplicates the source material and grafts MF_MassBattleMaterialFunction into it — see Related Config & Guides below.
内部结构Internal Structs
本头文件还定义了 4 个仅供内部数据流转的结构体,它们不是作者面配置,因此不单独成节:FAgentRenderBatchData、FFxRenderBatchData、FRagdollSlotInput、FRagdollSlotSeed。
This header also defines 4 structs that only carry internal data; they are not authoring surface, so they get no section of their own: FAgentRenderBatchData, FFxRenderBatchData, FRagdollSlotInput, FRagdollSlotSeed.