载入中...
搜索中...
未找到
SurfaceFluidSceneRenderer.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
6
7#include <glm/glm.hpp>
8
9namespace eve::graphics {
10class Graphics;
11class Mesh;
12} // namespace eve::graphics
13
14namespace eve::fluids {
15
24public:
28
34 void draw(const SurfaceFluidRenderData& renderData,
35 const glm::vec4& tint = glm::vec4(0.72f, 0.88f, 0.96f, 0.78f));
36
39 int getDrawCount() const { return drawCount_; }
40
42 static glm::mat4 modelMatrix(const SurfaceDropletRenderInstance& instance);
43
44private:
45 graphics::Graphics* graphics_ = nullptr;
46 graphics::Mesh* sphere_ = nullptr;
47 int drawCount_ = 0;
48};
49
50} // namespace eve::fluids
#define EVENGINE_API_DOMAINS
Definition Export.h:110
glm::vec4 tint
MeshVfxBatchedDraw draw
Builds renderer-independent droplet instances and wet PBR parameters.
Draws surface-droplet cap instances through the engine 3D backend.
int getDrawCount() const
Returns the draw count.
GPU mesh handle (+ optional CPU morph targets).
Definition Mesh.h:25
GLSL compute kernels for the GPU surface-flow solver.
Definition FluidTarget.h:12
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
World-space oriented cap instance consumed by droplet instancing shaders.